Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for configure (0.06 sec)

  1. README.md

            
            // Configure basic components
            container.singleton("crawler", Crawler.class)
                    .singleton("httpClient", HcHttpClient.class)
                    .singleton("fileTransformer", FileTransformer.class);
            
            // Get crawler instance
            Crawler crawler = container.getComponent("crawler");
            
            // Configure crawling parameters
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. README.md

    import org.codelibs.fess.suggest.converter.ReadingConverterChain;
    import org.codelibs.fess.suggest.normalizer.ICUNormalizer;
    
    // Configure custom settings
    SuggestSettings settings = SuggestSettings.builder()
        .analyzer(analyzers -> {
            // Configure custom analyzers
            analyzers.addAnalyzer("custom", customAnalyzerSettings);
        })
        .build();
    
    Suggester customSuggester = Suggester.builder()
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

         *
         * @param params the parameters to configure the interval controller
         */
        public HostIntervalController(final Map<String, Long> params) {
            super(params);
        }
    
        /**
         * Delays before processing a URL, ensuring that requests to the same host are not made too frequently.
         * This method extracts the host from the URL and enforces a delay based on the configured
         * delayMillisBeforeProcessing parameter.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     * </p>
     * <ul>
     *   <li>Detect the MIME type based on the input stream and filename.</li>
     *   <li>Normalize the filename to handle special characters.</li>
     *   <li>Configure whether to use the filename for MIME type detection.</li>
     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            xPath = createXPath(f -> {});
        }
    
        /**
         * Creates an instance of {@link XPath} using the provided {@link Consumer} to configure the {@link XPathFactory}.
         *
         * @param builder a {@link Consumer} that accepts an {@link XPathFactory} and configures it.
         * @return a configured instance of {@link XPath}.
         * @throws CrawlerSystemException if an error occurs while creating the {@link XPath} instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            }
            return handler.getSitemapSet();
        }
    
        /**
         * Disables external resources for the SAX parser to prevent XXE attacks.
         * @param parser the SAX parser to configure
         * @throws SAXNotRecognizedException if the parser doesn't recognize the feature
         * @throws SAXNotSupportedException if the parser doesn't support the feature
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                    logger.debug("Failed to retrieval a cache.", e);
                }
                return new XPathAPI();
            }
        }
    
        /**
         * Creates and configures a DOM parser with the specified features and properties.
         *
         * @return a configured DOM parser instance
         * @throws CrawlerSystemException if the parser configuration is invalid
         */
        protected DOMParser getDomParser() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        /**
         * Gets the count of documents matching the search criteria.
         *
         * @param callback The callback to configure the search request.
         * @return The number of matching documents.
         */
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * {@link MimeTypeHelper}, to handle content length checks and MIME type detection.
     * </p>
     *
     * <p>
     * The class uses JCIFS properties to configure the SMB connection.
     * </p>
     *
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * {@code
     * SmbClient smbClient = new SmbClient();
     * smbClient.init();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

     *   <li>Optionally removing duplicate terms based on a flag.</li>
     *   <li>Limiting the maximum size of alphanumeric and symbol terms.</li>
     * </ul>
     *
     * <p>The {@link TextNormalizeContext} class provides a fluent API to configure the text
     * normalization process, including setting initial buffer capacity, maximum term sizes,
     * duplicate term removal, and custom space characters.
     *
     * <p>Example usage:
     * <pre>{@code
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top