Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for nonexistent_index (0.06 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            final long count = testClient.getDocumentCount("nonexistent_index");
            assertEquals(-1L, count);
        }
    
        @Test
        public void test_getAliasCount_returnsZeroOnError() {
            // The real getAliasCount returns 0 on error; our test double tracks this
            testClient.aliasCountError = true;
            final int count = testClient.getAliasCount("nonexistent_index");
            assertEquals(0, count);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test(expected = SuggesterException.class)
        public void testDeleteByQueryWithInvalidIndex() {
            // Test delete with non-existent index
            SuggestUtil.deleteByQuery(client, settings, "nonexistent_index", QueryBuilders.matchAllQuery());
        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top