- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for setQuery (0.11 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
SuggestResponse response1 = suggester.suggest().setQuery("tes").setSuggestDetail(true).execute().getResponse(); assertEquals(1, response1.getNum()); SuggestResponse response2 = suggester.suggest().setQuery("hoge").setSuggestDetail(true).execute().getResponse(); assertEquals(1, response2.getNum()); SuggestResponse response3 = suggester.suggest().setQuery("fuga").setSuggestDetail(true).execute().getResponse();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
boolQueryBuilder.must(queryBuilder); filterList.forEach(boolQueryBuilder::filter); builder.setQuery(boolQueryBuilder); } else { builder.setQuery(queryBuilder); } builder.execute(new ActionListener<SearchResponse>() { @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K 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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
boolQuery.must(queryBuilder); } builder.setQuery(boolQuery); } } else if (queryBuilder != null) { builder.setQuery(queryBuilder); } else { builder.setQuery(QueryBuilders.matchAllQuery()); } if (sortBuilders != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0)