Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createNextIndex (0.05 sec)

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

            // Create next index - this is the main method we're testing
            Thread.sleep(1000); // Wait before creating next index (following existing test pattern)
            suggester.createNextIndex();
            Thread.sleep(100);
    
            // Verify that createNextIndex completed without exceptions
            // The update alias should now point to the new index
            final String updateAlias = suggester.getIndex() + ".update";
    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. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #shutdown()}: Shuts down the thread pool.</li>
     *   <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>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 21.6K bytes
    - Viewed (3)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                return 0;
            }
    
            final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
    
            logger.info("Creating new suggest index.");
            suggestHelper.suggester().createNextIndex();
    
            logger.info("Storing all bad words.");
            suggestHelper.storeAllBadWords(true);
    
            logger.info("Storing all elevate words.");
            suggestHelper.storeAllElevateWords(true);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            long currentMillis = System.currentTimeMillis();
            long millisUntilNextSecond = 1000 - (currentMillis % 1000);
            Thread.sleep(millisUntilNextSecond + 10); // +10ms buffer
            suggester.createNextIndex();
            SuggestItem[] items2 = getItemSet2();
            suggester.indexer().index(items2);
            suggester.refresh();
    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