Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for PrefixQuery (0.13 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/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                            final String reading = readingList.get(readingCount);
                            if (i + 1 == queries.length && prefixQuery) {
                                readingQueryBuilder.should(QueryBuilders.prefixQuery(fieldName, reading));
                            } else {
                                readingQueryBuilder.should(QueryBuilders.termQuery(fieldName, reading));
                            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

        }
    
        protected PrefixQueryBuilder regPrefixQ(String name, String prefix) {
            checkEsInvalidQuery(name, prefix);
            PrefixQueryBuilder prefixQuery = QueryBuilders.prefixQuery(name, prefix);
            regQ(prefixQuery);
            return prefixQuery;
        }
    
        protected RangeQueryBuilder regRangeQ(String name, ConditionKey ck, Object value) {
            checkEsInvalidQuery(name, value);
    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/query/TermQueryCommand.java

    import static org.codelibs.fess.query.QueryFieldConfig.SITE_FIELD;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.PrefixQuery;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.QueryContext;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

        }
    
        protected PrefixQueryBuilder regPrefixQ(String name, String prefix) {
            checkEsInvalidQuery(name, prefix);
            PrefixQueryBuilder prefixQuery = QueryBuilders.prefixQuery(name, prefix);
            regQ(prefixQuery);
            return prefixQuery;
        }
    
        protected RangeQueryBuilder regRangeQ(String name, ConditionKey ck, Object value) {
            checkEsInvalidQuery(name, value);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

        }
    
        protected PrefixQueryBuilder regPrefixQ(String name, String prefix) {
            checkEsInvalidQuery(name, prefix);
            PrefixQueryBuilder prefixQuery = QueryBuilders.prefixQuery(name, prefix);
            regQ(prefixQuery);
            return prefixQuery;
        }
    
        protected RangeQueryBuilder regRangeQ(String name, ConditionKey ck, Object value) {
            checkEsInvalidQuery(name, value);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                final String[] fields) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final QueryBuilder queryBuilder = QueryBuilders.prefixQuery(fessConfig.getIndexFieldId(), id);
            return getDocumentListByQuery(searchEngineClient, queryBuilder, fields);
        }
    
        public long deleteChildDocument(final SearchEngineClient searchEngineClient, final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper();
                    final long count = indexingHelper.deleteDocumentByQuery(searchEngineClient,
                            QueryBuilders.prefixQuery(fessConfig.getIndexFieldUrl(), url));
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted {} docs for {}*", count, url);
                    }
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top