Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 297 for quer (0.98 sec)

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

        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermQuery termQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("TermQuery: query={}, boost={}", query, boost);
                }
                return convertTermQuery(context, termQuery, boost);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test normal query
            String query = "test query";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
            assertEquals(2, keywords.length);
            assertEquals("test", keywords[0]);
            assertEquals("query", keywords[1]);
    
            // Test empty query
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Appends a query string to the query buffer with proper formatting.
         * Handles OR operators and wraps complex queries in parentheses when necessary.
         *
         * @param queryBuf the StringBuilder to append to
         * @param query the query string to append
         */
        protected void appendQuery(final StringBuilder queryBuf, final String query) {
            String q = query;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         * @return the parsed Query object
         * @throws QueryParseException if the query cannot be parsed
         */
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        /**
         * Creates a new Lucene query parser with the current configuration.
         * The parser is configured with the default field, analyzer, wildcard settings,
         * and default operator.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

     */
    package org.codelibs.fess.query;
    
    import java.io.IOException;
    import java.util.Objects;
    
    import org.apache.lucene.search.Query;
    import org.opensearch.core.common.io.stream.StreamOutput;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.DisMaxQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/QueryHelper.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BooleanQuery booleanQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("BooleanQuery: query={}, boost={}", query, boost);
                }
                return convertBooleanQuery(context, booleanQuery, boost);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top