Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for phrase (0.04 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            // Test with non-phrase query - should throw InvalidQueryException
            Query termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/CreateForm.java

        }
    
        /** Dictionary identifier */
        @Required
        public String dictId;
    
        /** CRUD operation mode (CREATE, EDIT, etc.) */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** Word or phrase to be protected from analysis */
        @Required
        @Size(max = 1000)
        public String input;
    
        /**
         * Initializes the form with default values for creating a new protected words entry.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         * Sets up search conditions for the file configuration list query.
         * This method applies various filter conditions based on the pager parameters
         * including name, paths, and description filters with wildcard and phrase matching.
         *
         * @param cb the condition bean for building the database query
         * @param fileConfigPager the pager containing search filter criteria
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            assertFalse(searchRequestParams.hasConditionQuery());
        }
    
        public void test_hasConditionQuery_withExactPhraseQuery() {
            // Test with exact phrase query
            testParams.conditions.put(SearchRequestParams.AS_EPQ, new String[] { "exact phrase" });
            assertTrue(searchRequestParams.hasConditionQuery());
        }
    
        public void test_hasConditionQuery_withOrQuery() {
            // Test with OR query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         *
         * <p>Description matching supports:</p>
         * <ul>
         *   <li>Wildcard matching (if starts or ends with *)</li>
         *   <li>Prefix matching (if ends with *)</li>
         *   <li>Exact phrase matching (otherwise)</li>
         * </ul>
         *
         * @param cb the condition bean to configure
         * @param dataConfigPager the pager containing search criteria
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        /** The parameter for negative query. */
        public static final String AS_NQ = "nq";
    
        /** The parameter for OR query. */
        public static final String AS_OQ = "oq";
    
        /** The parameter for exact phrase query. */
        public static final String AS_EPQ = "epq";
    
        /** The parameter for query. */
        public static final String AS_Q = "q";
    
        /** The parameter for filetype. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryCommand.java

                boolQuery.minimumShouldMatch(minimumShouldMatch);
            }
            return new DefaultQueryBuilder(boolQuery);
        }
    
        /**
         * Builds a match phrase query, with special handling for single CJK characters.
         * For single CJK characters in title or content fields, uses prefix query instead.
         * @param f The field name.
         * @param text The text to search for.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         * The query is processed through the filter chain before being parsed.
         *
         * @param query the query string to parse
         * @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.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            }
            return convertTextQuery(fessConfig, context, termQuery, boost, field, text);
        }
    
        /**
         * Converts a term query to a text-based match phrase query.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top