- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for scrollDiv (0.04 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
final String sid = scrollId; response = get(c -> c.prepareSearchScroll(sid).setScroll(scrollForDelete).execute()); if (!scrollId.equals(response.getScrollId())) { clearScroll(scrollId); } scrollId = response.getScrollId(); } } finally { clearScroll(scrollId); } return count;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
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) -
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 } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
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 (1)