- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Wildcard (1.88 sec)
-
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; /** * Query command for handling wildcard queries. * Converts Lucene WildcardQuery objects to OpenSearch QueryBuilder objects, * supporting wildcard pattern matching with configurable case sensitivity. */ public class WildcardQueryCommand extends QueryCommand { /** * Default constructor. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* <li>Manages crawl delay settings per user agent</li> * <li>Stores sitemap URLs listed in robots.txt</li> * </ul> * * <p>The class uses case-insensitive pattern matching for user agents and supports * wildcard characters (*) in user agent strings. When multiple directives match a user agent, * the most specific (longest) match is used.</p> * */ public class RobotsTxt { private static final String ALL_BOTS = "*";
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
} return value; } /** * Sets the lowercase wildcard flag. * * @param lowercaseWildcard the lowercase wildcard flag */ public void setLowercaseWildcard(final boolean lowercaseWildcard) { this.lowercaseWildcard = lowercaseWildcard; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
*/ protected Map<String, CorsHandler> handerMap = new HashMap<>(); /** * Adds a CORS handler for the specified origin. * * @param origin the origin pattern (can be "*" for wildcard) * @param handler the CORS handler to associate with the origin */ public void add(final String origin, final CorsHandler handler) { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
try { robotsTxt = robotsTxtHelper.parse(in); } finally { CloseableUtil.closeQuietly(in); } // Test WildcardBot - wildcard patterns // Disallow: /*.pdf$ - should block .pdf files but not .pdf with query params assertFalse(robotsTxt.allows("/document.pdf", "WildcardBot"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
} } /** * Escapes wildcard characters in the given query string. * * This method replaces all occurrences of '*' with '\*' and * all occurrences of '?' with '\?' to ensure that these characters * are treated as literals rather than wildcard characters in queries. * * @param query the query string to escapeRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
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
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertEquals("test\\*query\\?end", escaped3); // Test with no wildcards String query4 = "test query"; String escaped4 = SuggestUtil.escapeWildcardQuery(query4); assertEquals("test query", escaped4); // Test with multiple wildcards String query5 = "***???"; String escaped5 = SuggestUtil.escapeWildcardQuery(query5);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
return filterInfo -> ObjectInputFilter.Status.ALLOWED; } /** * Creates a custom filter that allows only the specified class patterns. * <p> * Patterns can be exact class names or use wildcards with '*' at the end. * For example: "com.example.*" allows all classes in the com.example package. * </p> * * @param allowedPatterns the patterns of classes to allowRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
*/ protected String unescape(final String s) { return s.replace("\\\\", "\\"); } /** * Appends a filter path pattern to a string buffer with appropriate wildcards. * Handles various pattern formats including anchored patterns and quoted patterns. * * @param buf the string buffer to append to * @param v the pattern value to appendRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0)