Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for wildcardQuery (0.1 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)
  3. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

        }
    
        protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
            checkEsInvalidQuery(name, wildcard);
            WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
            regQ(wildcardQuery);
            return wildcardQuery;
        }
    
        protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
            checkEsInvalidQuery(name, regexp);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

        }
    
        protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
            checkEsInvalidQuery(name, wildcard);
            WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
            regQ(wildcardQuery);
            return wildcardQuery;
        }
    
        protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
            checkEsInvalidQuery(name, regexp);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

        }
    
        protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
            checkEsInvalidQuery(name, wildcard);
            WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
            regQ(wildcardQuery);
            return wildcardQuery;
        }
    
        protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
            checkEsInvalidQuery(name, regexp);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            final String queryString = "*" + text + "*";
            context.addFieldLog(urlField, queryString);
            context.addHighlightedQuery(text);
            return QueryBuilders.wildcardQuery(urlField, queryString).boost(boost);
        }
    
        protected QueryBuilder convertPrefixQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            settings.badword().add(normalized);
            badWords = settings.badword().get(true);
            if (apply) {
                return deleteByQuery(QueryBuilders.wildcardQuery(FieldNames.TEXT, "*" + normalized + "*"));
            }
            return new SuggestDeleteResponse(null, 0);
        }
    
        public void deleteBadWord(final String badWord) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top