Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAllWordsNum (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            SuggestUtil.deleteByQuery(ComponentUtil.getSearchEngineClient(), suggester.settings(), suggester.getIndex(), boolQueryBuilder);
        }
    
        public long getAllWordsNum() {
            return suggester.getAllWordsNum();
        }
    
        public long getDocumentWordsNum() {
            return suggester.getDocumentWordsNum();
        }
    
        public long getQueryWordsNum() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            assertEquals(2, suggester.getAllWordsNum());
            assertEquals(2, suggester.getDocumentWordsNum());
            assertEquals(1, suggester.getQueryWordsNum());
    
            suggester.indexer().deleteAll();
            suggester.refresh();
            assertEquals(0, suggester.getAllWordsNum());
            assertEquals(0, suggester.getDocumentWordsNum());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    suggestSettings, threadPool);
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top