- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for setQuery (0.1 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0) .execute().actionGet().getHits().getTotalHits().value > 0); urlQueueService.delete("sessionId"); assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
README.md
Suggester suggester = Suggester.builder().build(client, suggestId); ``` ### Suggest ```java SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse(); ``` ### Suggest async ``` suggester.suggest().setQuery("kensaku").execute() .done( response -> {} ).error( t -> {} ); ``` ### Add suggest document ```java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Jan 19 03:33:49 UTC 2023 - 1.4K bytes - Viewed (0) -
test-site/app/models/SuggestIndex.java
import org.codelibs.fess.suggest.request.suggest.SuggestResponse; public class SuggestIndex { public SuggestResponse suggest(String query) { return ComponentsUtil.suggester.suggest() .setQuery(query) .execute().getResponse(); } public void index() { Suggester suggester = ComponentsUtil.suggester; DocumentReader reader = new ESSourceReader(ComponentsUtil.runner.client(),
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 964 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
if (logger.isInfoEnabled()) { logger.info("Set document limit: {}", limitOfDocumentSize); } this.limitOfDocumentSize = limitOfDocumentSize; } public void setQuery(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; } public void addSort(final SortBuilder<?> sortBuilder) { sortList.add(sortBuilder); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
README.ja.md
* suggesterの設定(配列) * 対応フィールド名 2回目以降のインスタンス生成時には、作成済みの設定が再利用されます。 ### Suggestリクエスト ```java SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse(); ``` ### Suggest async widh lambda ``` suggester.suggest().setQuery("kensaku").execute() .done( response -> {} ).error( t -> {} ); ``` ### サジェストドキュメントの登録 ```java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Jul 27 10:00:55 UTC 2015 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoCB.java
@Override public SearchRequestBuilder build(SearchRequestBuilder builder) { if (_conditionQuery != null) { QueryBuilder queryBuilder = _conditionQuery.getQuery(); if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/bs/BsGroupCB.java
@Override public SearchRequestBuilder build(SearchRequestBuilder builder) { if (_conditionQuery != null) { QueryBuilder queryBuilder = _conditionQuery.getQuery(); if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFailureUrlCB.java
@Override public SearchRequestBuilder build(SearchRequestBuilder builder) { if (_conditionQuery != null) { QueryBuilder queryBuilder = _conditionQuery.getQuery(); if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.9K bytes - Viewed (0)