Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for prepareBulk (0.13 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public void bulk(final BulkRequest request, final ActionListener<BulkResponse> listener) {
            client.bulk(request, listener);
        }
    
        @Override
        public BulkRequestBuilder prepareBulk() {
            return client.prepareBulk();
        }
    
        @Override
        public ActionFuture<GetResponse> get(final GetRequest request) {
            return client.get(request);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        public void bulk(final BulkRequest request, final ActionListener<BulkResponse> listener) {
            client.bulk(request, listener);
        }
    
        @Override
        public BulkRequestBuilder prepareBulk() {
            return client.prepareBulk();
        }
    
        @Override
        public ActionFuture<GetResponse> get(final GetRequest request) {
            return client.get(request);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                        break;
                    }
    
                    final BulkResponse bulkResponse = getClient().get(c -> {
                        final BulkRequestBuilder builder = c.prepareBulk();
                        for (final SearchHit searchHit : searchHits) {
                            final UpdateRequestBuilder updateRequest =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                return 0L;
            }
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            if (bulkRequestBuilder == null) {
                bulkRequestBuilder = client.prepareBulk();
            }
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            for (final String id : ids) {
                bulkRequestBuilder.add(client.prepareUpdate().setIndex(index).setId(id)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        protected <T> BulkResponse doInsertAll(final List<T> list, final OpType opType) {
            try {
                return getClient().get(c -> {
                    final BulkRequestBuilder bulkRequest = c.prepareBulk();
                    for (final T target : list) {
                        final String id = getId(getSessionId(target), getUrl(target));
                        try (final XContentBuilder source = getXContentBuilder(target)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
Back to top