Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for hasFailures (0.11 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                            builder.add(updateRequest);
                        }
    
                        return builder.execute();
                    });
                    if (bulkResponse.hasFailures()) {
                        throw new OpenSearchAccessException(bulkResponse.buildFailureMessage());
                    }
    
                    final String sid = scrollId;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                }
            }
    
            final BulkResponse response = bulkRequestBuilder.execute().actionGet(settings.getBulkTimeout());
            final SuggestWriterResult result = new SuggestWriterResult();
            if (response.hasFailures()) {
                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                bufferedList.add(target);
                if (bufferedList.size() >= bulkBufferSize) {
                    final BulkResponse response = doInsertAll(bufferedList, opType);
                    if (response.hasFailures()) {
                        final String failureMessage = buildFailureMessage(response, ignoreAlreadyExists);
                        if (failureMessage.length() > 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        }
    
        protected void flush() {
            if (bulkRequestBuilder != null) {
                final BulkResponse response = bulkRequestBuilder.execute().actionGet(requestTimeout);
                if (response.hasFailures()) {
                    logger.warn("Failed to update scores: {}", response.buildFailureMessage());
                }
                bulkRequestBuilder = null;
            }
        }
    
        public int getPriority() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                    itemMap.put("message", item.getFailureMessage());
                } else {
                    itemMap.put("id", item.getId());
                }
                return itemMap;
            }).toList()).status(response.hasFailures() ? Status.FAILED : Status.OK).result());
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            consumer.accept(builder);
            try {
                final BulkResponse response = builder.execute().get();
                if (response.hasFailures()) {
                    throw new SearchEngineClientException(response.buildFailureMessage());
                }
                return true;
            } catch (final InterruptedException e) {
    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

                        final BulkResponse bulkResponse = bulkRequestBuiler.execute().actionGet(settings.getBulkTimeout());
                        if (bulkResponse.hasFailures()) {
                            throw new SuggesterException(bulkResponse.buildFailureMessage());
                        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                                crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
                            });
                    if (response.hasFailures()) {
                        if (logger.isDebugEnabled()) {
                            final BulkItemResponse[] items = response.getItems();
                            if (docList.size() == items.length) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                        }
                        return bulkRequest.execute();
                    });
                    if (bulkResponse.hasFailures()) {
                        throw new OpenSearchAccessException(bulkResponse.buildFailureMessage());
                    }
    
                    final String sid = scrollId;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                            return StringUtil.EMPTY;
                        });
                final BulkResponse response = builder.execute().actionGet(fessConfig.getIndexBulkTimeout());
                if (response.hasFailures()) {
                    logger.warn("Failed to register {}: {}", dataPath, response.buildFailureMessage());
                }
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top