Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSearchField (0.21 sec)

  1. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), termRangeQuery.getField());
    
            if (!isSearchField(field)) {
                final StringBuilder queryBuf = new StringBuilder();
                queryBuf.append(termRangeQuery.includesLower() ? '[' : '{');
                final BytesRef lowerTerm = termRangeQuery.getLowerTerm();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/QueryCommand.java

                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)) {
                    return true;
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top