Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrefixQuery (0.06 sec)

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

        @Override
        protected String getQueryClassName() {
            return PrefixQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PrefixQuery prefixQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
    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/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("title:fess", ((TermQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("fess*");
            assertEquals(PrefixQuery.class, query.getClass());
            assertEquals("_default:fess", ((PrefixQuery) query).getPrefix().toString());
    
            query = queryParser.createDefaultFilterChain().parse("fe?s");
            assertEquals(WildcardQuery.class, query.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

                    || block == UnicodeBlock.HIRAGANA //
                    || block == UnicodeBlock.KATAKANA //
                    || block == UnicodeBlock.HANGUL_SYLLABLES //
            ) {
                return QueryBuilders.prefixQuery(f, text);
            }
            return QueryBuilders.matchPhraseQuery(f, text);
        }
    
        protected String getSearchField(final String defaultField, final String 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)
Back to top