Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for scrollId (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param client the OpenSearch client used to clear the scroll context
         * @param scrollId the ID of the scroll context to be deleted; if null, no action is taken
         */
        public static void deleteScrollContext(final Client client, final String scrollId) {
            if (scrollId != null) {
                client.prepareClearScroll().addScrollId(scrollId).execute(ActionListener.wrap(res -> {}, e -> {}));
            }
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        /**
         * Clears a scroll context.
         *
         * @param scrollId The scroll ID to clear.
         */
        public void clearScroll(final String scrollId) {
            if (scrollId != null) {
                prepareClearScroll().addScrollId(scrollId)
                        .execute(ActionListener.wrap(res -> {}, e -> logger.warn("Failed to clear " + scrollId, e)));
            }
        }
    
        /**
         * Listener for connection events.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. 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)
  4. 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
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            String[] fields = { "scroll1", "scroll2", "scroll3" };
            queryFieldConfig.setScrollResponseFields(fields);
    
            String[] result = queryFieldConfig.getScrollResponseFields();
            assertSame(fields, result);
        }
    
        public void test_setScrollResponseFields() {
            String[] fields = { "scroll1", "scroll2", "scroll3" };
            queryFieldConfig.setScrollResponseFields(fields);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testScrollTimeout() {
            // Test setting scroll timeout
            SuggestSettingsBuilder result = builder.scrollTimeout("10s");
            assertEquals(builder, result); // Test method chaining
            assertEquals("10s", builder.timeoutSettings.scrollTimeout);
    
            // Test updating scroll timeout
            builder.scrollTimeout("30s");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. docs/en/docs/js/termynal.js

        }
    
        loadLines() {
            // Load all the lines and create the container so that the size is fixed
            // Otherwise it would be changing and the user viewport would be constantly
            // moving as she/he scrolls
            const finish = this.generateFinish()
            finish.style.visibility = 'hidden'
            this.container.appendChild(finish)
            // Appends dynamically loaded lines to existing line elements.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    At the same point, you try to trigger the autocomplete with `Ctrl+Space` and you see:
    
    <img src="/img/python-types/image02.png">
    
    With that, you can scroll, seeing the options, until you find the one that "rings a bell":
    
    <img src="/img/python-types/image03.png">
    
    ## More motivation { #more-motivation }
    
    Check this function, it already has type hints:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * 📝 Fix Twitter to be X (Twitter) everywhere in documentation. PR [#13809](https://github.com/fastapi/fastapi/pull/13809) by [@valentinDruzhinin](https://github.com/valentinDruzhinin).
    * 🐛 Prevent scroll-to-top on restart/fast buttons in `termynal.js`. PR [#13714](https://github.com/fastapi/fastapi/pull/13714) by [@Ashish-Pandey62](https://github.com/Ashish-Pandey62).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top