Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 57 for scrollId (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    }
    
                    final String sid = scrollId;
                    response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute());
                    if (!scrollId.equals(response.getScrollId())) {
                        getClient().clearScroll(scrollId);
                    }
                    scrollId = response.getScrollId();
                }
            } finally {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
            SuggestUtil.deleteScrollContext(client, scrollId);
            // No exception should be thrown
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            String[] fields = { "scroll1", "scroll2", "scroll3" };
            queryFieldConfig.setScrollResponseFields(fields);
    
            String[] result = queryFieldConfig.getScrollResponseFields();
            assertSame(fields, result);
        }
    
        @Test
        public void test_setScrollResponseFields() {
            String[] fields = { "scroll1", "scroll2", "scroll3" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/main/webapp/js/bootstrap.min.js

    moothScroll&&(F.off(this._config.target,je),F.on(this._config.target,je,$e,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo)return void s.scrollTo({top:i,behavior:"smooth"});s.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_ob...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 58.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/TimeoutSettings.java

            this.clusterTimeout = timeout;
        }
    
        /**
         * Gets the scroll timeout.
         * @return The scroll timeout.
         */
        public String getScrollTimeout() {
            return scrollTimeout;
        }
    
        /**
         * Sets the scroll timeout.
         * @param timeout The scroll timeout.
         */
        public void setScrollTimeout(final String timeout) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. 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.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

    import io.restassured.path.json.JsonPath;
    import io.restassured.response.Response;
    
    /**
     * Integration tests for the Scroll Search API (/api/v1/documents/all)
     * This test requires crawled documents and api.search.scroll to be enabled
     */
    @Tag("it")
    @Disabled("Requires api.search.scroll to be enabled in fess_config.properties")
    public class ScrollSearchApiTests extends CrawlTestBase {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        public Ansi scrollUp(final int rows) {
            if (rows == Integer.MIN_VALUE) {
                return scrollDown(Integer.MAX_VALUE);
            }
            return rows > 0 ? appendEscapeSequence('S', rows) : rows < 0 ? scrollDown(-rows) : this;
        }
    
        public Ansi scrollDown(final int rows) {
            if (rows == Integer.MIN_VALUE) {
                return scrollUp(Integer.MAX_VALUE);
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
Back to Top