Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for restoreElevateWord (0.06 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public SuggestDeleteResponse deleteAll() {
            final SuggestDeleteResponse response = deleteByQuery(QueryBuilders.matchAllQuery());
            restoreElevateWord();
            return response;
        }
    
        public SuggestDeleteResponse deleteDocumentWords() {
            final long start = System.currentTimeMillis();
    
            final SuggestDeleteResponse deleteResponse =
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.settings().elevateWord().add(elevateWord1);
            suggester.settings().elevateWord().add(elevateWord2);
            suggester.settings().elevateWord().add(elevateWord3);
    
            suggester.indexer().restoreElevateWord();
            suggester.refresh();
    
            SuggestResponse response1 = suggester.suggest().setQuery("tes").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response1.getNum());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top