Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for nonexistent_index (0.14 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)
Back to Top