- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getQueryWordsNum (0.24 sec)
-
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
return suggester.getAllWordsNum(); } public long getDocumentWordsNum() { return suggester.getDocumentWordsNum(); } public long getQueryWordsNum() { return suggester.getQueryWordsNum(); } public boolean deleteAllWords() { final SuggestDeleteResponse response = suggester.indexer().deleteAll(); if (response.hasError()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(2, suggester.getDocumentWordsNum()); assertEquals(1, suggester.getQueryWordsNum()); suggester.indexer().deleteAll(); suggester.refresh(); assertEquals(0, suggester.getAllWordsNum()); assertEquals(0, suggester.getDocumentWordsNum()); assertEquals(0, suggester.getQueryWordsNum()); } @Test public void test_deleteDocumentWords() throws Exception {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java
final SuggestBody body = new SuggestBody(); body.totalWordsNum = suggestHelper.getAllWordsNum(); body.documentWordsNum = suggestHelper.getDocumentWordsNum(); body.queryWordsNum = suggestHelper.getQueryWordsNum(); return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); } // DELETE /api/admin/suggest/all @Execute
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java
runtime.registerData("totalWordsNum", suggestHelper.getAllWordsNum()); runtime.registerData("documentWordsNum", suggestHelper.getDocumentWordsNum()); runtime.registerData("queryWordsNum", suggestHelper.getQueryWordsNum()); } @Override protected String getActionRole() { return ROLE; } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
return getNum(QueryBuilders.matchAllQuery()); } public long getDocumentWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)); } public long getQueryWordsNum() { return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1)); } private long getNum(final QueryBuilder queryBuilder) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0)