Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deleteQueryWords (0.07 sec)

  1. src/main/webapp/WEB-INF/view/admin/suggest/admin_suggest.jsp

                                                            <button type="button" class="btn btn-danger btn-xs"
                                                                    name="deleteQueryWords"
                                                                    data-toggle="modal" data-target="#confirmToQueryDelete"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                return false;
            }
            refresh();
            return true;
        }
    
        public boolean deleteQueryWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteQueryWords();
            if (response.hasError()) {
                logger.warn("Failed to delete query words.", response.getErrors().get(0));
                return false;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                SuggestUtil.deleteScrollContext(client, scrollId);
            }
    
            return new SuggestDeleteResponse(null, System.currentTimeMillis() - start);
        }
    
        public SuggestDeleteResponse deleteQueryWords() {
            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)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(2, suggester.getAllWordsNum());
            assertEquals(2, suggester.getDocumentWordsNum());
            assertEquals(1, suggester.getQueryWordsNum());
    
            suggester.indexer().deleteQueryWords();
            suggester.refresh();
            assertEquals(2, suggester.getAllWordsNum());
            assertEquals(2, suggester.getDocumentWordsNum());
            assertEquals(0, suggester.getQueryWordsNum());
        }
    
    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