- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for fieldSort (0.09 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
return getList(OpenSearchUrlQueue.class, sessionId, null, 0, pollingFetchSize, SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC), SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC)); } @Override public void saveSession(final String sessionId) { // TODO use cache } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field)) { return SortBuilders.scoreSort().order(order); } return SortBuilders.fieldSort(field).order(order); } protected boolean isSearchField(final String field) { for (final String searchField : getQueryFieldConfig().searchFields) { if (searchField.equals(field)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K 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();
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/helper/QueryHelper.java
if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field)) { return SortBuilders.scoreSort().order(order); } return SortBuilders.fieldSort(field).order(order); } public void setHighlightPrefix(final String highlightPrefix) { this.highlightPrefix = highlightPrefix; } public String getHighlightPrefix() {
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/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java
assertObjectNotNull("field", field); if (fieldSortBuilderList == null) { fieldSortBuilderList = new ArrayList<>(); } fieldSortBuilderList.add(SortBuilders.fieldSort(field).order(ascOrDesc ? SortOrder.ASC : SortOrder.DESC)); } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java
assertObjectNotNull("field", field); if (fieldSortBuilderList == null) { fieldSortBuilderList = new ArrayList<>(); } fieldSortBuilderList.add(SortBuilders.fieldSort(field).order(ascOrDesc ? SortOrder.ASC : SortOrder.DESC)); } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
assertObjectNotNull("field", field); if (fieldSortBuilderList == null) { fieldSortBuilderList = new ArrayList<>(); } fieldSortBuilderList.add(SortBuilders.fieldSort(field).order(ascOrDesc ? SortOrder.ASC : SortOrder.DESC)); } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
final String[] values = s.split(":"); if (values.length > 1) { return SortBuilders.fieldSort(values[0]).order("desc".equalsIgnoreCase(values[0]) ? SortOrder.DESC : SortOrder.ASC); } return SortBuilders.fieldSort(values[0]).order(SortOrder.ASC); }).toArray(n -> new SortBuilder[n])); ot = OptionalThing.of(sortBuilders);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0)