Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteDocumentByUrl (0.09 sec)

  1. 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)
  2. 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