Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteDocument (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.update(fessConfig.getIndexDocumentUpdateIndex(), id, field, value);
        }
    
        public boolean deleteDocument(final SearchEngineClient searchEngineClient, final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.delete(fessConfig.getIndexDocumentUpdateIndex(), id);
        }
    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 true;
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
    
            final String id = "001";
    
            assertTrue(indexingHelper.deleteDocument(client, id));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(id, resultMap.get("id"));
        }
    
        public void test_deleteDocumentByUrl() {
    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