- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for caching (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
conditionalRule.setMimeTypePattern("text/.*"); // Test matching ResponseData responseData1 = new ResponseData(); responseData1.setUrl("http://www.example.com/page"); responseData1.setMimeType("text/html"); assertTrue(conditionalRule.match(responseData1)); // Test non-matching URL ResponseData responseData2 = new ResponseData();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java
authMap.put(auth.getPathPrefix(), auth); } /** * Retrieves an SMB authentication configuration that matches the given path. * @param path The path to match. * @return The matching SmbAuthentication object, or null if no match is found. */ public SmbAuthentication get(final String path) { if (path == null) { return null; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
this.metaCharsetPattern = metaCharsetPattern; } /** * Gets the pattern used for matching HTML tags. * * @return the HTML tag pattern */ public Pattern getHtmlTagPattern() { return htmlTagPattern; } /** * Sets the pattern used for matching HTML tags. * * @param htmlTagPattern the HTML tag pattern to set */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
*/ /** * Gets the first rule that matches the given response data. * @param responseData the response data to match against * @return the first matching rule, or null if no rule matches */ @Override public Rule getRule(final ResponseData responseData) { for (final Rule rule : ruleList) { if (rule.match(responseData)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
// Clear conditions rule.clearConditions(); // Should match after clearing conditions assertTrue(rule.match(responseData)); } /** * Test rule matching with various ResponseData states */ public void test_matchWithVariousResponseDataStates() { ConfigurableRule rule = new ConfigurableRule(); rule.setRuleId("stateRule");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
for (int i = 0; i < 1000; i++) { urlFilter.addInclude("https://site" + i + ".com/.*"); urlFilter.addExclude(".*\\.exclude" + i + "$"); } // Test matching performance assertTrue(urlFilter.match("https://site500.com/page")); assertFalse(urlFilter.match("https://site500.com/file.exclude500")); assertFalse(urlFilter.match("https://unknown.com/page"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
*/ @Override public void close() { clientFactory.close(); } /** * Adds an include filter for URLs. * Only URLs matching this regular expression will be crawled. * @param regexp The regular expression for the include filter. */ public void addIncludeFilter(final String regexp) { if (StringUtil.isNotBlank(regexp)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertEquals(original.getCause().getClass(), deserialized.getCause().getClass()); } /** * Test throwing and catching the exception */ public void test_throwAndCatch() { try { throw new CrawlerSystemException("Test throw"); } catch (CrawlerSystemException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
README.md
"article" ); suggester.indexer().indexFromDocument(reader, 4, 50); ``` ### Search Analytics ```java // Track user queries for analytics QueryLog userQuery = new QueryLog("machine learning tutorials", "user456"); suggester.indexer().indexFromQueryLog(userQuery); // Get trending searches PopularWordsResponse trending = suggester.popularWords() .setSize(10) .execute()
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1)