- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for deleteDocumentByQuery (0.59 sec)
-
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); return deleteDocumentByQuery(searchEngineClient, fessConfig.getIndexDocumentUpdateIndex(), QueryBuilders.termsQuery(fessConfig.getIndexFieldDocId(), docIdList.stream().toArray(n -> new String[n]))); } public long deleteDocumentByQuery(final SearchEngineClient searchEngineClient, final QueryBuilder queryBuilder) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
return 0; } }; ComponentUtil.register(client, "searchEngineClient"); final String url = "http://test.com/"; assertEquals(1, indexingHelper.deleteDocumentByQuery(client, QueryBuilders.termQuery("fess.update", url))); assertEquals("fess.update", resultMap.get("index")); assertEquals(url, resultMap.get("url")); } public void test_getDocument() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0)