- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for usage (0.01 sec)
-
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* Exception thrown when there is an issue with the suggestion index. * This exception extends {@link SuggesterException}. * * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error")); * throw new SuggestIndexException("Indexing error", new IOException("IO error")); * </pre> *Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
/** * This class represents a custom exception for the suggester component. * It extends the {@link RuntimeException} class and provides constructors * to create an exception instance with a message, a cause, or both. * * <p>Usage examples:</p> * <pre> * throw new SuggesterException("An error occurred"); * throw new SuggesterException(new IOException("IO error")); * throw new SuggesterException("An error occurred", new IOException("IO error"));Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java
* * <p>This class uses a specified Transliterator to perform text normalization. * The Transliterator is initialized with a given ID during the construction of * the ICUNormalizer instance.</p> * * <p>Example usage:</p> * <pre> * ICUNormalizer normalizer = new ICUNormalizer("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC"); * String normalizedText = normalizer.normalize("text to normalize", "field"); * </pre> *
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
README.md
Add the dependency to your `pom.xml`: ```xml <dependency> <groupId>org.codelibs.fess</groupId> <artifactId>fess-suggest</artifactId> <version>15.2.0-SNAPSHOT</version> </dependency> ``` ### Basic Usage #### 1. Create Suggester Instance ```java import org.codelibs.fess.suggest.Suggester; import org.opensearch.client.Client; // Initialize with your OpenSearch client String suggestId = "my-suggest-index";
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
import java.util.List; /** * The NormalizerChain class implements the Normalizer interface and allows chaining multiple normalizers together. * It applies each normalizer in the order they were added to the chain. * * <p>Usage example:</p> * <pre> * NormalizerChain chain = new NormalizerChain(); * chain.add(new SomeNormalizer()); * chain.add(new AnotherNormalizer()); * String normalizedText = chain.normalize("input text", "field", "en");
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* {@link java.net.IDN} class. * * <p>This class allows setting a custom flag for the IDN conversion and a custom * encoding for URL decoding.</p> * * <p>Example usage:</p> * <pre> * {@code * IdnDnsResolver resolver = new IdnDnsResolver(); * resolver.setFlag(IDN.ALLOW_UNASSIGNED); * resolver.setEncoding("UTF-8"); * InetAddress[] addresses = resolver.resolve("example.com"); * }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
README.md
<!-- For OpenSearch backend --> <dependency> <groupId>org.codelibs.fess</groupId> <artifactId>fess-crawler-opensearch</artifactId> <version>15.2.0-SNAPSHOT</version> </dependency> ``` ### Basic Usage ```java import org.codelibs.fess.crawler.Crawler; import org.codelibs.fess.crawler.client.http.HcHttpClient; import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
Registered: 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/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java
* </p> * * <p> * The log level can be set to DEBUG, INFO, WARN, or ERROR, and the class provides methods to check if a specific log level is enabled. * </p> * * <p> * Example usage: * </p> * * <pre> * try { * // Attempt to access a resource * } catch (CrawlingAccessException e) { * if (e.isErrorEnabled()) { * // Log the error * } * } * </pre> */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li> * </ul> * * <p>Example usage:</p> * <pre> * {@code * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); * String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ * }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions. * * <p>Example usage:</p> * <pre> * {@code * XPathAPI xPathAPI = new XPathAPI(); * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0)