Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getIndicesForAlias (0.23 seconds)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

    import org.opensearch.transport.client.Client;
    
    /**
     * Test class for refactoring changes made to Suggester class.
     *
     * Tests cover:
     * - Index alias helper method (getIndicesForAlias)
     * - Edge cases for switchIndex with EXPECTED_INDEX_COUNT
     * - Index lifecycle with refactored methods
     */
    public class SuggesterRefactoringTest {
        static OpenSearchRunner runner;
        static Client client;
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        /**
         * Creates a new index and replaces the current update alias with the new index.
         */
        public void createNextIndex() {
            try {
                final List<String> prevIndices = getIndicesForAlias(getUpdateAlias(index));
    
                final String mappingSource = getDefaultMappings();
                final String settingsSource = getDefaultIndexSettings();
                final String indexName = createIndexName(index);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
Back to Top