- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 64 for Chen (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
* {@link XpathTransformer} is a class that transforms HTML content into XML format based on XPath expressions. * It extracts data from an HTML document by applying XPath rules defined in {@link #fieldRuleMap}. * The extracted data is then formatted into an XML structure and stored in the {@link ResultData}. * <p> * This class extends {@link HtmlTransformer} and overrides the {@link #storeData(ResponseData, ResultData)} methodRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
} /** * Sets the response body from a file. * * @param responseBody the file containing the response body * @param isTemporary true if the file is temporary and should be deleted when closing */ public void setResponseBody(final File responseBody, final boolean isTemporary) { responseBodyFile = responseBody; isTemporaryFile = isTemporary; } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(status == nullStatus); assertFalse(status.equals(nullStatus)); // null == Enum should be false assertFalse(nullStatus == status); // Verify no NullPointerException when comparing with == boolean result = (nullStatus == CrawlerStatus.INITIALIZING); assertFalse(result); } /** * Test thread safety of enum */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
assertArrayEquals(new String[] { "reading1" }, itemReadings[0]); } @Test public void testToSuggestItemWithNullTagsAndRoles() { // Test toSuggestItem when tags and roles are null (converted to empty lists) String word = "null tags and roles"; float boost = 1.0f; List<String> readings = Arrays.asList("reading1");
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
protected static class ComponentHolder<T> { /** * The component instance being held. */ protected T instance; /** * The destroyer function to be called when the component is destroyed. */ protected Consumer<T> destroyer; /** * Creates a new ComponentHolder with the specified instance and destroyer.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
assertFalse(conditionalRule.match(responseData)); // Doesn't match pattern testRule.setMatchResult(true); assertTrue(testRule.match(responseData)); // Always matches when set to true // Both should inherit same property behavior conditionalRule.setRuleId("conditional"); testRule.setRuleId("test");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
} /** * Extracts keywords from the given query string based on the specified fields. * * @param q the query string to parse and extract keywords from * @param fields the fields to consider when extracting keywords * @return a list of unique keywords extracted from the query string */ public static List<String> getKeywords(final String q, final String[] fields) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
* <li>XInclude awareness</li> * </ul> * * <p> * It also allows defining field rules using XPath expressions to extract specific data from the XML document and map it to fields in the ResultData. * The extracted data is then formatted into an XML structure suitable for indexing. * </p> * * <p> * The class uses a cache for XPathAPI objects to improve performance. The cache duration is configurable. * </p> * * <p>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 23.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} } /** * Listener for connection events. */ public interface OnConnectListener { /** * Called when the client connects to OpenSearch. */ void onConnect(); } /** * Sets the scroll configuration for delete operations. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
/** Map of HTML tag names to attribute names for extracting child URLs. */ protected Map<String, String> childUrlRuleMap = new LinkedHashMap<>(); /** Default character encoding to use when none is specified. */ protected String defaultEncoding; /** Number of bytes to read from input stream to determine character set encoding. * If you want to follow a html spec, use 512. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0)