Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isSearchField (0.08 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)
  3. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                return convertWildcardQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (!isSearchField(field)) {
                final String origQuery = termQuery.toString();
                return convertDefaultTermQuery(fessConfig, context, termQuery, boost, DEFAULT_FIELD, origQuery);
            }
    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