Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAllWordsNum (0.06 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/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        // GET /api/admin/suggest
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final SuggestBody body = new SuggestBody();
            body.totalWordsNum = suggestHelper.getAllWordsNum();
            body.documentWordsNum = suggestHelper.getDocumentWordsNum();
            body.queryWordsNum = suggestHelper.getQueryWordsNum();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java

            super.setupHtmlData(runtime);
            runtime.registerData("helpLink", systemHelper.getHelpLink(fessConfig.getOnlineHelpNameSuggest()));
            runtime.registerData("totalWordsNum", suggestHelper.getAllWordsNum());
            runtime.registerData("documentWordsNum", suggestHelper.getDocumentWordsNum());
            runtime.registerData("queryWordsNum", suggestHelper.getQueryWordsNum());
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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