Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 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/PrefixQueryCommand.java

        protected QueryBuilder convertPrefixQuery(final QueryContext context, final PrefixQuery prefixQuery, final float boost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        protected QueryBuilder convertWildcardQuery(final QueryContext context, final WildcardQuery wildcardQuery, final float boost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Term term = fuzzyQuery.getTerm();
            final String field = getSearchField(context.getDefaultField(), term.field());
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = term.text();
                context.addFieldLog(field, text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. 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