- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for setQuery (0.06 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) -
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) -
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) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { builder.setQuery(QueryBuilders.idsQuery().addIds(id)); builder.setFetchSource(fields, null); return true; }).orElse(null); }
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 QueryHelper queryHelper = ComponentUtil.getQueryHelper(); if (!roleSet.isEmpty()) { queryHelper.buildRoleQuery(roleSet, boolQuery); } builder.setQuery(boolQuery); builder.setFetchSource(fields, null); queryHelper.processSearchPreference(builder, userBean, docId); return true; }); }
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/suggest/index/SuggestIndexer.java
} final List<SuggestItem> updateItems = new ArrayList<>(); SearchResponse response = client.prepareSearch(index).setSize(500).setScroll(settings.getScrollTimeout()) .setQuery(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)).execute().actionGet(settings.getSearchTimeout()); String scrollId = response.getScrollId(); try { while (scrollId != null) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); return searchEngineClient.search(fessConfig.getIndexDocumentSearchIndex(), queryRequestBuilder -> { queryRequestBuilder.setQuery(QueryBuilders.matchAllQuery()); final TermsAggregationBuilder termsBuilder = AggregationBuilders.terms(fessConfig.getIndexFieldSegment())
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java
setupEpg(_epgMap, et -> ((KeyMatch) et).getMaxSize(), (et, vl) -> ((KeyMatch) et).setMaxSize(DfTypeUtil.toInteger(vl)), "maxSize"); setupEpg(_epgMap, et -> ((KeyMatch) et).getQuery(), (et, vl) -> ((KeyMatch) et).setQuery(DfTypeUtil.toString(vl)), "query"); setupEpg(_epgMap, et -> ((KeyMatch) et).getTerm(), (et, vl) -> ((KeyMatch) et).setTerm(DfTypeUtil.toString(vl)), "term");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
try { SearchResponse response = client.prepareSearch().setIndices(actualIndex).setScroll(settings.getScrollTimeout()) .setQuery(QueryBuilders.termQuery(FieldNames.ARRAY_KEY, key)).setSize(500).execute() .actionGet(settings.getSearchTimeout()); String scrollId = response.getScrollId();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
.seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId()))); reader.setQuery(QueryBuilders .functionScoreQuery(QueryBuilders.matchAllQuery(), flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0)