Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for QUERY (0.01 sec)

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

        /**
         * Gets the class name of the query this command handles.
         * @return The query class name.
         */
        protected abstract String getQueryClassName();
    
        /**
         * Registers this query command with the query processor.
         * Associates this command with its query class name in the processor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        /**
         * Converts a phrase query to a query builder.
         *
         * @param context the query context
         * @param phraseQuery the phrase query
         * @param boost the boost factor
         * @return the query builder
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

        }
    
        /**
         * Executes the fuzzy query command to convert a Lucene FuzzyQuery into an OpenSearch QueryBuilder.
         *
         * @param context the query context containing search configuration
         * @param query the Lucene query to convert (must be a FuzzyQuery)
         * @param boost the boost factor to apply to the query
         * @return OpenSearch QueryBuilder for fuzzy matching
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Query command implementation for handling Boolean queries.
     * Converts Lucene BooleanQuery objects to OpenSearch BoolQueryBuilder objects.
     */
    public class BooleanQueryCommand extends QueryCommand {
        /**
         * Default constructor for BooleanQueryCommand.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

     */
    package org.codelibs.fess.query;
    
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.apache.lucene.search.MatchAllDocsQuery;
    import org.apache.lucene.search.Query;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.query.QueryProcessor.FilterChain;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.opensearch.index.query.BoolQueryBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

        /**
         * Adds a query to the query map with the specified display key.
         *
         * @param key the display key for the query
         * @param query the query string to add
         */
        public void addQuery(final String key, final String query) {
            queryMap.put(key, query);
        }
    
        /**
         * Returns a string representation of this FacetQueryView object.
         * Includes the title and query map for debugging purposes.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

                cb.query().setTerm_Wildcard(wrapQuery(relatedQueryPager.term));
            }
            if (StringUtil.isNotBlank(relatedQueryPager.queries)) {
                cb.query().setQueries_Wildcard(wrapQuery(relatedQueryPager.queries));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Term_Asc();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

            return BoostQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BoostQuery boostQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
            TermRangeQuery query = new TermRangeQuery("title", new BytesRef("aaa"), new BytesRef("zzz"), true, true);
    
            QueryBuilder builder = queryCommand.convertTermRangeQuery(context, query, 1.0f);
            assertNotNull(builder);
            assertTrue(builder instanceof RangeQueryBuilder);
    
            // Query was processed successfully
            RangeQueryBuilder rqb = (RangeQueryBuilder) builder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

            this.maxSize = value;
        }
    
        public String getQuery() {
            checkSpecifiedProperty("query");
            return convertEmptyToNull(query);
        }
    
        public void setQuery(String value) {
            registerModifiedProperty("query");
            this.query = value;
        }
    
        public String getTerm() {
            checkSpecifiedProperty("term");
            return convertEmptyToNull(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top