Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createFieldSortBuilder (0.1 sec)

  1. 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)
  2. 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)
Back to top