- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for scroll1 (0.05 sec)
-
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) -
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) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
response = client.prepareSearchScroll(scrollId) .setScroll(settings.getScrollTimeout()) .execute() .actionGet(settings.getSearchTimeout()); if (!scrollId.equals(response.getScrollId())) { SuggestUtil.deleteScrollContext(client, scrollId); } }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K 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/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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
this.index = index; } /** * Gets the scroll timeout in milliseconds. * * @return The scroll timeout. */ public int getScrollTimeout() { return scrollTimeout; } /** * Sets the scroll timeout. * @param scrollTimeout The scroll timeout. */ public void setScrollTimeout(final int scrollTimeout) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0) -
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) -
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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.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 {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0)