- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getSearchEngineClient (0.19 sec)
-
src/main/java/org/codelibs/fess/score/ScoreBooster.java
protected Function<Map<String, Object>, String[]> idFinder = params -> { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SearchEngineClient client = ComponentUtil.getSearchEngineClient(); final String index = fessConfig.getIndexDocumentUpdateIndex(); final Object url = params.get("url"); if (url == null) { return StringUtil.EMPTY_STRINGS; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
return keyMatchQueryMap.size(); } protected List<Map<String, Object>> getDocumentList(final KeyMatch keyMatch) { final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); return searchEngineClient.getDocumentList(fessConfig.getIndexDocumentSearchIndex(),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
return totalHits.value; } return 0; } public long deleteBySessionId(final String sessionId) { final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String index = fessConfig.getIndexDocumentUpdateIndex(); return deleteBySessionId(searchEngineClient, index, sessionId);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); return ComponentUtil.getSearchEngineClient().<Map<String, Object>> scrollSearch(fessConfig.getIndexDocumentSearchIndex(), searchRequestBuilder -> { final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
contentFieldList = Arrays.asList(stream(fessConfig.getSuggestFieldContents()).get(stream -> stream.toArray(n -> new String[n]))); final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); searchEngineClient.admin().cluster().prepareHealth().setWaitForYellowStatus().execute() .actionGet(fessConfig.getIndexHealthTimeout());
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/job/PurgeDocJob.java
public class PurgeDocJob { private static final Logger logger = LogManager.getLogger(PurgeDocJob.class); public String execute() { final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final StringBuilder resultBuf = new StringBuilder(); // clean up
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
final String timeout = fessConfig.getCrawlerHotthreadTimeout(); final String type = fessConfig.getCrawlerHotthreadType(); try { final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient(); final NodesHotThreadsResponse response = esClient.admin().cluster().prepareNodesHotThreads().setIgnoreIdleThreads(ignoreIdleThreads).setInterval(interval)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
} public static long scroll(final String index, final Function<SearchHit, Boolean> callback) { final SearchEngineClient client = ComponentUtil.getSearchEngineClient(); return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit, hit -> callback.apply(hit)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
// TODO bulk final FessConfig fessConfig = ComponentUtil.getFessConfig(); try { ComponentUtil.getIndexingHelper().updateDocument(ComponentUtil.getSearchEngineClient(), thumbnailId, fessConfig.getIndexFieldThumbnail(), value); } catch (final Exception e) { logger.warn("Failed to update thumbnail field at {}", thumbnailId, e); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
final long startTime = systemHelper.getCurrentTimeAsLong(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); if (logger.isDebugEnabled()) { logger.debug("Adding {}", dataMap); } // required check final Object urlObj = dataMap.get(fessConfig.getIndexFieldUrl());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.9K bytes - Viewed (0)