Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wildcardQuery (0.07 sec)

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

        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final WildcardQuery wildcardQuery) {
                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.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("_default:fess", ((PrefixQuery) query).getPrefix().toString());
    
            query = queryParser.createDefaultFilterChain().parse("fe?s");
            assertEquals(WildcardQuery.class, query.getClass());
            assertEquals("_default:fe?s", ((WildcardQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("fess~");
            assertEquals(FuzzyQuery.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)
Back to top