Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

                return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
            return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)).boost(boost)
                    .maxExpansions(fessConfig.getQueryPrefixExpansionsAsInteger()).slop(fessConfig.getQueryPrefixSlopAsInteger());
        }
    
        protected String toLowercaseWildcard(final String value) {
            if (lowercaseWildcard) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

                        (f, b) -> QueryBuilders.wildcardQuery(f, toLowercaseWildcard(text)).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return QueryBuilders.wildcardQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top