- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createFieldSortBuilder (0.1 sec)
-
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} list.add(createFieldSortBuilder(fieldName, SortOrder.DESC.toString().equalsIgnoreCase(order) ? SortOrder.DESC : SortOrder.ASC)); defaultSortBuilders = list.toArray(new SortBuilder[list.size()]); } protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) {
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/query/QueryCommand.java
return ComponentUtil.getQueryFieldConfig(); } protected QueryProcessor getQueryProcessor() { return ComponentUtil.getQueryProcessor(); } protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) { if (QueryFieldConfig.SCORE_FIELD.equals(field) || QueryFieldConfig.DOC_SCORE_FIELD.equals(field)) { return SortBuilders.scoreSort().order(order); }
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/query/TermQueryCommand.java
"Invalid sort order: " + termQuery); } } else { sortOrder = SortOrder.ASC; } context.addSorts(createFieldSortBuilder(sortField, sortOrder)); })); return null; } protected QueryBuilder convertDefaultTermQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0)