Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSearchField (0.12 sec)

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

        protected QueryBuilder convertTermRangeQuery(final QueryContext context, final TermRangeQuery termRangeQuery, final float boost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), termRangeQuery.getField());
    
            if (!isSearchField(field)) {
                final StringBuilder queryBuf = new StringBuilder();
    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 QueryBuilders.prefixQuery(f, text);
            }
            return QueryBuilders.matchPhraseQuery(f, text);
        }
    
        protected String getSearchField(final String defaultField, final String field) {
            if (Constants.DEFAULT_FIELD.equals(field) && defaultField != null) {
                return defaultField;
            }
            return 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)
  3. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
            final String text = termQuery.getTerm().text();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    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