- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for addSorts (0.24 sec)
-
src/main/java/org/codelibs/fess/entity/QueryContext.java
queryBuilder = builder; } } public void setQueryBuilder(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; } public void addSorts(final SortBuilder<?>... sortBuilders) { stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder))); } public boolean hasSorts() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
"Invalid sort order: " + termQuery); } } else { sortOrder = SortOrder.ASC; } context.addSorts(createFieldSortBuilder(sortField, sortOrder)); })); return null; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
buildRoleQuery(queryContext, searchRequestType); buildVirtualHostQuery(queryContext, searchRequestType); if (!queryContext.hasSorts() && defaultSortBuilders != null) { queryContext.addSorts(defaultSortBuilders); } return queryContext; } protected void buildVirtualHostQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
int num = 10000; addDocument(indexName, client, num); ESSourceReader reader = new ESSourceReader(client, settings, indexName); reader.setScrollSize(1000); reader.addSort(SortBuilders.fieldSort("field2")); int count = 0; int prev = -1; Map<String, Object> source; while ((source = reader.read()) != null) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
} this.limitOfDocumentSize = limitOfDocumentSize; } public void setQuery(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; } public void addSort(final SortBuilder<?> sortBuilder) { sortList.add(sortBuilder); } public void setLimitDocNumPercentage(final String limitPercentage) { if (logger.isInfoEnabled()) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoCB.java
if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); } if (_conditionAggregation != null) { _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); }
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
if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); } if (_conditionAggregation != null) { _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); }
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/helper/SuggestHelper.java
flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()])) .boostMode(CombineFunction.MULTIPLY)); reader.addSort(SortBuilders.fieldSort(fessConfig.getIndexFieldClickCount())); reader.addSort(SortBuilders.scoreSort()); return reader; }, docPerReq, () -> { systemHelper.calibrateCpuLoad(); ThreadUtil.sleep(interval);
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/es/config/cbean/bs/BsFailureUrlCB.java
if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); } if (_conditionAggregation != null) { _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/bs/BsLabelTypeCB.java
if (queryBuilder != null) { builder.setQuery(queryBuilder); } _conditionQuery.getFieldSortBuilderList().forEach(sort -> { builder.addSort(sort); }); } if (_conditionAggregation != null) { _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.2K bytes - Viewed (0)