Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for switchAliases (0.04 seconds)

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

            testClient.documentCount = 10;
    
            testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            // switchAliases should NOT be called in the new same-name recreation flow
            assertEquals(0, testClient.switchAliasesCalls.size());
            assertFalse(testClient.calledMethods.contains("switchAliases"));
        }
    
        // ==========================================================================
    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/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @param newIndexName the new index name to add aliases to
         * @return true if all aliases were switched successfully, false otherwise
         */
        protected boolean switchAliases(final String configIndex, final String oldIndexName, final String newIndexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
Back to Top