- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for logic (0.01 sec)
-
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
import java.io.Closeable; import java.util.Map; /** * Interface for reading documents and extracting their contents into a map. * Implementations of this interface should provide the logic for reading * documents and converting them into a key-value structure. * * <p>This interface extends {@link java.io.Closeable}, so implementationsRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java
/** * The Rule interface defines the contract for implementing rules that can be applied to * response data in a web crawler. Implementations of this interface should provide logic * to determine if a given response data matches the rule, retrieve the rule's identifier, * and obtain the associated response processor. */ public interface Rule extends Serializable { /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java
import java.util.Map; import org.codelibs.fess.crawler.entity.ExtractData; /** * The Extractor interface defines methods for extracting text data from an input stream. * Implementations of this interface should provide the logic for extracting text and * optionally override the default weight value. */ public interface Extractor { /** * Extracts text data from the given input stream. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
import org.codelibs.fess.crawler.exception.MaxLengthExceededException; import org.codelibs.fess.crawler.exception.MultipleCrawlingAccessException; /** * A fault-tolerant wrapper for CrawlerClient that implements retry logic for failed requests. * This client will attempt to execute requests multiple times before giving up, with configurable * retry counts and intervals between attempts. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
* {@link CrawlerContainer}. It also provides a convenient method for * registering the extractor with the {@link ExtractorFactory}. * </p> * * <p> * Subclasses should implement the actual extraction logic in their own * methods, leveraging the helper methods provided by this abstract class. * </p> * */ public abstract class AbstractExtractor implements Extractor { /** The crawler container. */ @ResourceRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
* {@code ruleId} and {@code responseProcessor}. * </p> * * <p> * Subclasses should extend this class and implement the abstract methods * defined in the {@link Rule} interface to provide specific rule logic. * </p> * */ public abstract class AbstractRule implements Rule { private static final long serialVersionUID = 1L; /** The rule ID. */ protected String ruleId;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
/** * An abstract base class for implementing {@link IntervalController}. * Provides a common structure for handling delays at different stages of the crawling process. * It encapsulates the delay logic and exception handling, allowing subclasses to focus on * defining the specific delay behavior for each stage. * * <p> * This class defines the contract for delaying the crawling process at various points, such as: * </p>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
README.md
```java public class CustomExtractor extends AbstractExtractor { @Override public ExtractData getText(final InputStream inputStream, final Map<String, String> params) { // Custom extraction logic ExtractData extractData = new ExtractData(); // ... implementation return extractData; } } // Register custom extractorRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
responseData3.setHttpStatusCode(500); assertFalse(rule.match(responseData3)); } /** * Test ConfigurableRule with multiple conditions (AND logic) */ public void test_configurableRule_multipleConditions() { ConfigurableRule rule = new ConfigurableRule(); rule.setRuleId("multiRule");
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-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
final Settings settings = Settings.builder().putList("http.hosts", hosts).build(); return new HttpClient(settings, null); } /** * Executes an OpenSearch operation with retry logic. * * @param <T> The response type. * @param func The function to execute. * @return The response from the operation. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0)