Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scrollSearch (0.23 sec)

  1. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

        }
    
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit,
                    hit -> callback.apply(hit));
        }
    
        public static String getXContentString(final ToXContent xContent, final MediaType mediaType) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        return rankFusionProcessor.search(query, params, userBean);
                    }).orElse(queryResponseList);
                }
            }
            return documentItems;
        }
    
        public long scrollSearch(final SearchRequestParams params, final BooleanFunction<Map<String, Object>> cursor,
                final OptionalThing<FessUserBean> userBean) {
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            if (numFound > fessConfig.getIndexerMaxResultWindowSizeAsInteger().longValue()) {
                final List<Map<String, Object>> entityList = new ArrayList<>(Long.valueOf(numFound).intValue());
                searchEngineClient.scrollSearch(fessConfig.getIndexDocumentUpdateIndex(), requestBuilder -> {
                    requestBuilder.setQuery(queryBuilder).setSize((int) numFound);
                    if (fields != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        }
    
        public long scrollSearch(final String index, final SearchCondition<SearchRequestBuilder> condition,
                final BooleanFunction<Map<String, Object>> cursor) {
            return scrollSearch(index, condition, getDefaultEntityCreator(), cursor);
        }
    
        public <T> long scrollSearch(final String index, final SearchCondition<SearchRequestBuilder> condition,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
            try {
                response.setContentType("application/x-ndjson; charset=UTF-8");
                final long count = searchHelper.scrollSearch(params, doc -> {
                    buf.setLength(0);
                    buf.append('{');
                    boolean first2 = true;
                    for (final Map.Entry<String, Object> entry : doc.entrySet()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top