Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteDocumentByQuery (0.11 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper();
                    final long count = indexingHelper.deleteDocumentByQuery(searchEngineClient,
                            QueryBuilders.prefixQuery(fessConfig.getIndexFieldUrl(), url));
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. 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)
Back to top