Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteDocumentByUrl (0.19 sec)

  1. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper();
            for (final String url : deleteUrlList) {
                indexingHelper.deleteDocumentByUrl(searchEngineClient, url);
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Deleted {}", deleteUrlList);
            }
            deleteUrlList.clear();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.delete(fessConfig.getIndexDocumentUpdateIndex(), id);
        }
    
        public long deleteDocumentByUrl(final SearchEngineClient searchEngineClient, final String url) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 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.deleteDocumentByUrl(client, url));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(url, resultMap.get("url"));
        }
    
        public void test_deleteDocumentsByDocId() {
    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