Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for scroll (0.08 sec)

  1. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                deleteScrollContext(scrollId);
            }
            return count;
        }
    
        /**
         * Deletes a scroll context to free resources.
         *
         * @param scrollId the scroll ID to delete
         */
        protected void deleteScrollContext(final String scrollId) {
            if (scrollId != null) {
                client.prepareClearScroll()
                        .addScrollId(scrollId)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            POPULARWORD,
            /** Favorite API format. */
            FAVORITE,
            /** Favorites API format. */
            FAVORITES,
            /** Ping API format. */
            PING,
            /** Scroll API format. */
            SCROLL,
            /** Suggest API format. */
            SUGGEST,
            /** Other API format. */
            OTHER;
        }
    
        /**
         * Default constructor for BaseApiManager.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
    
            // Verify that the scroll method exists with correct signature
            try {
                SearchEngineUtil.class.getMethod("scroll", String.class, java.util.function.Function.class);
            } catch (NoSuchMethodException e) {
                fail("scroll method should exist with correct signature");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

        }
    
        /**
         * Scrolls through all documents in the specified index and applies the callback function to each hit.
         *
         * @param index the name of the index to scroll through
         * @param callback the function to apply to each search hit, returning true to continue or false to stop
         * @return the number of documents processed
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        }
    
        /**
         * Gets the fields that are included in scroll search responses.
         *
         * @return array of field names for scroll search responses
         */
        public String[] getScrollResponseFields() {
            return scrollResponseFields;
        }
    
        /**
         * Sets the fields that are included in scroll search responses.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    api.access.token.request.parameter=
    # Permissions for API admin access.
    api.admin.access.permissions=Radmin-api
    # Accepted referers for API search.
    api.search.accept.referers=
    # Whether to enable scroll for API search.
    api.search.scroll=false
    # Headers for API JSON response.
    api.json.response.headers=Referrer-Policy:strict-origin-when-cross-origin
    # Whether to include exceptions in API JSON response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                docIds.addAll(resultIds);
                Map<String, Object> scrollBody = new HashMap<>();
                scrollBody.put("scroll", "1m");
                scrollBody.put("scroll_id", scrollId);
                response = given().contentType("application/json").body(scrollBody).get(getEsUrl() + "/_search/scroll");
                jsonPath = JsonPath.from(response.asString());
            }
    
            for (String docId : docIds) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

     *
     * This class provides comprehensive search functionality including document search,
     * scroll search, and bulk operations. It handles search request parameter processing,
     * query building, response formatting, and search log management.
     *
     * Key features:
     * - Document search with pagination and faceting
     * - Scroll search for large result sets
     * - Document retrieval by ID
     * - Bulk document updates
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a scroll request.", e);
                }
                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, e);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a scroll request.", e);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                        try (final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out.stream(), Constants.CHARSET_UTF_8))) {
                            SearchEngineUtil.scroll(index, hit -> {
                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top