Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        }
    
        public long deleteByVirtualHost(final String virtualHost) {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            return deleteByVirtualHost(searchEngineClient, index, virtualHost);
        }
    
    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 virtualHost = "aaa";
    
            assertEquals(1, indexingHelper.deleteByVirtualHost(virtualHost));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals("virtual_host", resultMap.get("field"));
            assertEquals(virtualHost, resultMap.get("value"));
        }
    
    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