Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for prepareBulk (0.09 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            }
        }
    
        public boolean bulkUpdate(final Consumer<BulkRequestBuilder> consumer) {
            final BulkRequestBuilder builder = ComponentUtil.getSearchEngineClient().prepareBulk();
            consumer.accept(builder);
            try {
                final BulkResponse response = builder.execute().get();
                if (response.hasFailures()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        if (hits.length == 0) {
                            break;
                        }
    
                        final BulkRequestBuilder bulkRequestBuiler = client.prepareBulk();
                        Stream.of(hits).map(SearchHit::getId).forEach(id -> bulkRequestBuiler.add(new DeleteRequest(index, id)));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            Client client = runner.client();
            int num = 10000;
            String indexName = "test";
    
            BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
            for (int i = 0; i < num; i++) {
                Map<String, Object> source = Collections.singletonMap("content", "test");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top