Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for switchIndex (0.05 sec)

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

            assertNotNull("Should have search alias", aliasResponse.getAliases());
    
            // Call switchIndex - should return early without error since they're already the same
            suggester.switchIndex();
    
            // Verify indices still exist and are functional
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. CLAUDE.md

    ### Suggester (Main Entry Point)
    Location: `src/main/java/org/codelibs/fess/suggest/Suggester.java`
    
    Main operations: `suggest()`, `popularWords()`, `indexer()`, `createIndexIfNothing()`, `createNextIndex()`, `switchIndex()`, `removeDisableIndices()`
    
    ### SuggestIndexer (Indexing Engine)
    Location: `src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java`
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 21.6K bytes
    - Viewed (3)
  4. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    }
                    exitCode.set(1);
                }
            }
    
            logger.info("Replacing new suggest index.");
            suggestHelper.suggester().switchIndex();
    
            logger.info("Removing old indices.");
            suggestHelper.suggester().removeDisableIndices();
    
            return exitCode.get();
        }
    
        private int purge(final LocalDateTime time) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals("検索 エンジン", response.getWords().get(0));
    
            response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse();
            assertEquals(2, response2.getNum());
    
            suggester.switchIndex();
    
            response = suggester.suggest().setQuery("kensaku").setSuggestDetail(true).execute().getResponse();
            assertEquals(0, response.getNum());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
Back to top