Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 24 for Wildcard (0.08 seconds)

  1. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "xxx:aaa");
            assertQueryBuilder(WildcardQueryBuilder.class, //
                    "{\"wildcard\":{\"url\":{\"wildcard\":\"*aaa*\",\"boost\":1.0}}}", //
                    "inurl:aaa");
            assertQueryBuilder(TermQueryBuilder.class, //
                    "{\"term\":{\"url\":{\"value\":\"aaa\",\"boost\":1.0}}}", //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/FessAppService.java

            // Default constructor
        }
    
        /**
         * Wraps a query string with wildcard characters to enable partial matching.
         * This method ensures that the query string is surrounded by asterisks (*)
         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            ComponentUtil.getRelatedContentHelper().update();
        }
    
        /**
         * Sets up the search conditions for listing related content entities.
         * Configures wildcard searches for term and content fields, and sets up ordering.
         *
         * @param cb the condition bean for building the query
         * @param relatedContentPager the pager containing search parameters
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         */
        public void setAnalyzer(final Analyzer analyzer) {
            this.analyzer = analyzer;
        }
    
        /**
         * Sets whether to allow leading wildcards in query terms.
         *
         * @param allowLeadingWildcard true to allow leading wildcards, false otherwise
         */
        public void setAllowLeadingWildcard(final boolean allowLeadingWildcard) {
            this.allowLeadingWildcard = allowLeadingWildcard;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         * <p>This method configures the condition bean with search criteria from the pager,
         * including name wildcards, handler name wildcards, and description matching.
         * Results are ordered by sort order and name in ascending order.</p>
         *
         * <p>Description matching supports:</p>
         * <ul>
         *   <li>Wildcard matching (if starts or ends with *)</li>
         *   <li>Prefix matching (if ends with *)</li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return QueryBuilders.termQuery(field, text).boost(boost);
        }
    
        /**
         * Converts a term query to a wildcard query for URL field matching.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        /**
         * Sets up the search conditions for the related query list based on the pager parameters.
         * This method configures wildcard searches for term and queries fields, and sets up ordering.
         *
         * @param cb the condition bean for building the query
         * @param relatedQueryPager the pager containing search parameters
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

        @Test
        public void test_escapeLDAPSearchFilter_withAsterisk() {
            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Asterisk should be escaped to \2a (prevents wildcard injection)
            assertEquals("\\2a", ldapManager.escapeLDAPSearchFilter("*"));
            assertEquals("user\\2a", ldapManager.escapeLDAPSearchFilter("user*"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

        }
    
        @Test
        public void test_messageWithSpecialCharacters() {
            // Setup
            final String message = "Query error: field:\"test value\" AND category:[A TO Z] OR tag:#hashtag @mention $special %wildcard";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final Exception cause = new RuntimeException("Special chars: \n\t\r\f\b");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top