- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for SuggestHelper (0.14 sec)
-
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
import org.opensearch.index.query.functionscore.ScoreFunctionBuilders; import org.opensearch.search.sort.SortBuilders; import jakarta.annotation.PostConstruct; public class SuggestHelper { private static final Logger logger = LogManager.getLogger(SuggestHelper.class); protected static final String TEXT_SEP = " "; protected Suggester suggester; protected FessConfig fessConfig;
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/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
private static final Logger logger = LogManager.getLogger(ApiAdminElevatewordAction.class); @Resource private ElevateWordService elevateWordService; @Resource protected SuggestHelper suggestHelper; // GET /api/admin/elevateword // POST /api/admin/elevateword @Execute public JsonResponse<ApiResult> settings(final SearchBody body) { validateApi(body, messages -> {});
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java
import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.helper.SuggestHelper; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; public class ApiAdminSuggestAction extends FessApiAdminAction { @Resource protected SuggestHelper suggestHelper; // GET /api/admin/suggest @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/exec/SuggestCreator.java
} final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper(); logger.info("Creating new suggest index."); suggestHelper.suggester().createNextIndex(); logger.info("Storing all bad words."); suggestHelper.storeAllBadWords(true); logger.info("Storing all elevate words."); suggestHelper.storeAllElevateWords(true);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
private static final Logger logger = LogManager.getLogger(ApiAdminBadwordAction.class); @Resource private BadWordService badWordService; @Resource protected SuggestHelper suggestHelper; // GET /api/admin/badword/settings // POST /api/admin/badword/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) { validateApi(body, messages -> {});
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/env/suggest/resources/app.xml
<include path="fess.xml" /> <component name="fessSuggest" class="org.codelibs.fess.exec.SuggestCreator" instance="prototype"> </component> <component name="suggestHelper" class="org.codelibs.fess.helper.SuggestHelper"> </component>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Feb 14 21:35:39 UTC 2020 - 489 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
@Resource private ElevateWordService elevateWordService; @Resource private ElevateWordPager elevateWordPager; @Resource protected SuggestHelper suggestHelper; @Resource private LabelTypeService labelTypeService; // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
@Resource private BadWordService badWordService; @Resource private BadWordPager badWordPager; @Resource protected SuggestHelper suggestHelper; // =================================================================================== // Hook
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
final List<String> wordList = new ArrayList<>(); final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper(); final PopularWordsRequestBuilder popularWordsRequestBuilder = suggestHelper.suggester().popularWords().setSize(fessConfig.getSuggestPopularWordSizeAsInteger())
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.6K bytes - Viewed (0)