Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getQueryProcessor (0.08 sec)

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

        public void register() {
            ComponentUtil.getQueryProcessor().add(getQueryClassName(), this);
        }
    
        protected QueryFieldConfig getQueryFieldConfig() {
            return ComponentUtil.getQueryFieldConfig();
        }
    
        protected QueryProcessor getQueryProcessor() {
            return ComponentUtil.getQueryProcessor();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

            if (query instanceof final BoostQuery boostQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

            final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            for (final BooleanClause clause : booleanQuery.clauses()) {
                final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.getQuery(), boost);
                if (queryBuilder != null) {
                    switch (clause.getOccur()) {
                    case MUST:
                        boolQuery.must(queryBuilder);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        protected QueryBuilder convertPrefixQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
            return getQueryProcessor().execute(context, new PrefixQuery(new Term(field, text.substring(0, text.length() - 1))), boost);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            try {
                final Query query = getQueryParser().parse(queryContext.getQueryString());
                final QueryBuilder queryBuilder = ComponentUtil.getQueryProcessor().execute(queryContext, query, 1.0f);
                if (queryBuilder != null) {
                    queryContext.setQueryBuilder(queryBuilder);
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(QUERY_HELPER);
        }
    
        public static QueryFieldConfig getQueryFieldConfig() {
            return getComponent(QUERY_FIELD_CONFIG);
        }
    
        public static QueryProcessor getQueryProcessor() {
            return getComponent(QUERY_PROCESSOR);
        }
    
        public static LabelTypeHelper getLabelTypeHelper() {
            return getComponent(LABEL_TYPE_HELPER);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top