Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for switchIndex (0.06 sec)

  1. 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: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  2. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. 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: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
Back to top