Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bulkUpdate (0.14 sec)

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

            } catch (final OpenSearchException e) {
                throw new SearchEngineClientException("Failed to update doc  " + id, e);
            }
        }
    
        public boolean bulkUpdate(final Consumer<BulkRequestBuilder> consumer) {
            final BulkRequestBuilder builder = ComponentUtil.getSearchEngineClient().prepareBulk();
            consumer.accept(builder);
            try {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                        return null;
                                    }).filter(req -> req != null).toArray(n -> new UpdateRequest[n]);
                    if (updateRequests.length > 0) {
                        searchHelper.bulkUpdate(builder -> {
                            for (final UpdateRequest req : updateRequests) {
                                builder.add(req);
                            }
                        });
                    }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top