Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pools (0.01 sec)

  1. README.md

    });
    ```
    
    ## Performance Tuning
    
    ### Thread Configuration
    
    ```java
    // Optimize thread pool settings
    crawler.crawlerContext.setNumOfThread(20);           // Number of crawler threads
    crawler.crawlerContext.setMaxThreadCheckCount(50);   // Thread monitoring frequency
    ```
    
    ### Connection Pool Tuning
    
    ```java
    container.singleton("httpClient", HcHttpClient.class, client -> {
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.pool;
    
    import org.apache.commons.pool2.BasePooledObjectFactory;
    import org.apache.commons.pool2.PooledObject;
    import org.apache.commons.pool2.impl.DefaultPooledObject;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    
    import jakarta.annotation.Resource;
    
    /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. fess-crawler/pom.xml

    			<artifactId>commons-net</artifactId>
    			<version>${commons.net.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.commons</groupId>
    			<artifactId>commons-pool2</artifactId>
    			<version>${commons.pool2.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.guava</groupId>
    			<artifactId>guava</artifactId>
    			<version>${guava.version}</version>
    		</dependency>
    		<dependency>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.pool;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.apache.commons.pool2.PooledObject;
    import org.apache.commons.pool2.impl.DefaultPooledObject;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        }
    
        /**
         * Sets the thread pool.
         * @param threadPool The thread pool.
         * @return This builder instance.
         */
        public SuggesterBuilder threadPool(final ExecutorService threadPool) {
            this.threadPool = threadPool;
            return this;
        }
    
        /**
         * Sets the thread pool size.
         * @param threadPoolSize The thread pool size.
         * @return This builder instance.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

         *
         * @param sessionId The session ID.
         * @param newUrlQueueList The list of new URL queues.
         */
        void offerAll(String sessionId, List<QUEUE> newUrlQueueList);
    
        /**
         * Polls a URL queue.
         *
         * @param sessionId The session ID.
         * @return The URL queue.
         */
        QUEUE poll(String sessionId);
    
        /**
         * Saves the session.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #popularWords()}: Creates a new PopularWordsRequestBuilder for querying popular words.</li>
     *   <li>{@link #refresh()}: Refreshes the suggestion indices.</li>
     *   <li>{@link #shutdown()}: Shuts down the thread pool.</li>
     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

     * <li>{@link #analyzer} - Suggest analyzer.
     * <li>{@link #contentsParser} - Contents parser.
     * <li>{@link #suggestWriter} - Suggest writer.
     * <li>{@link #threadPool} - Executor service for thread pool.
     * </ul>
     */
    public class SuggestIndexer {
        private final static Logger logger = LogManager.getLogger(SuggestIndexer.class);
    
        /** The suggest analyzer. */
        protected SuggestAnalyzer analyzer;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                }
                logger.info("Disconnected to {}", address);
            }
            connected = false;
        }
    
        /**
         * Gets the thread pool from the underlying client.
         *
         * @return The thread pool.
         */
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. README.md

    **Suggestions Not Appearing**
    - Confirm documents are indexed: `suggester.refresh()`
    - Check query formatting and filters
    - Verify analyzer configurations
    
    **Performance Issues**
    - Increase thread pool size in SuggesterBuilder
    - Optimize batch sizes for indexing operations
    - Review OpenSearch cluster performance
    
    **Memory Usage**
    - Configure appropriate JVM heap settings
    - Monitor index sizes and optimize mappings
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
Back to top