Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getItems (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            final SuggestWriterResult result = new SuggestWriterResult();
            if (response.hasFailures()) {
                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
                        result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage()));
                    }
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    stream(baseExcludes).of(stream -> stream.forEach(exclude -> popularWordsRequestBuilder.addExcludeWord(exclude)));
                    try {
                        popularWordsRequestBuilder.execute().getResponse().getItems().stream().forEach(item -> wordList.add(item.getText()));
                    } catch (final SuggesterException e) {
                        logger.warn("Failed to generate popular words.", e);
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                    crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
                }
            });
            return asJson(new ApiBulkResponse().items(Arrays.stream(response.getItems()).map(item -> {
                final Map<String, Object> itemMap = new HashMap<>();
                itemMap.put("result", item.status().name());
                if (item.isFailed()) {
    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/api/json/SearchApiManager.java

                buf.append(",\"page_size\":").append(suggestResponse.getNum());
    
                if (!suggestResponse.getItems().isEmpty()) {
                    buf.append(",\"data\":[");
    
                    boolean first = true;
                    for (final SuggestItem item : suggestResponse.getItems()) {
                        if (!first) {
                            buf.append(',');
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                            });
                    if (response.hasFailures()) {
                        if (logger.isDebugEnabled()) {
                            final BulkItemResponse[] items = response.getItems();
                            if (docList.size() == items.length) {
                                for (int i = 0; i < docList.size(); i++) {
                                    final BulkItemResponse resp = items[i];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            final SuggestResponse response = suggester.suggest().setQuery("検索").setSuggestDetail(true).execute().getResponse();
            final List<SuggestItem> items = response.getItems();
            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", items.get(0).getText());
        }
    
        @Test
        public void test_indexFromSearchWordExclude() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                builderCall.callback(bulkBuilder);
            }
    
            final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout);
            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                builderCall.callback(bulkBuilder);
            }
    
            final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout);
            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top