Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Memory (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

     * {@link MemoryDataHelper} to store and manage the URL patterns in memory.
     *
     */
    public class UrlFilterServiceImpl implements UrlFilterService {
    
        /**
         * Creates a new UrlFilterServiceImpl instance.
         */
        public UrlFilterServiceImpl() {
            // NOP
        }
    
        /**
         * The memory data helper.
         */
        @Resource
        protected MemoryDataHelper dataHelper;
    
        /*
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

     * This class provides methods to store, retrieve, update, and delete access results,
     * as well as to iterate over them. It uses a {@link MemoryDataHelper} to store the data in memory.
     *
     * <p>
     * The class uses a static {@code idCount} to generate unique IDs for each access result.
     * The {@code idCountLock} object is used to synchronize access to the {@code idCount} variable,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. README.md

        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    ```
    
    ### Memory Management
    
    ```java
    // Configure memory usage
    crawler.crawlerContext.setMaxAccessCount(10000);     // Limit crawled URLs
    crawler.crawlerContext.setMaxDepth(5);               // Limit crawl depth
    
    // Use streaming for large files
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

     * This class provides methods for managing a queue of URLs to be crawled,
     * including adding, deleting, and retrieving URLs from the queue.
     * It uses a {@link MemoryDataHelper} to store the URL queue data in memory.
     *
     * <p>
     * The class is responsible for:
     * </p>
     * <ul>
     *   <li>Updating session IDs for URL queues.</li>
     *   <li>Adding new URLs to the queue.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

         */
        public void setReplaceDuplication(final boolean replaceDuplication) {
            this.replaceDuplication = replaceDuplication;
        }
    
        /**
         * Sets the memory size.
         * @param memorySize The memory size.
         */
        public void setMemorySize(final int memorySize) {
            this.memorySize = memorySize;
        }
    
        /**
         * Sets the maximum size of an alpha-numeric term.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

    import org.codelibs.fess.crawler.entity.AccessResultImpl;
    import org.codelibs.fess.crawler.entity.UrlQueueImpl;
    
    /**
     * The {@code MemoryDataHelper} class provides a helper for managing crawler data in memory.
     * It stores URL queues, access results, and URL patterns for inclusion and exclusion.
     * This class is designed to be used in a single-threaded environment or with external synchronization.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API.
     * It implements the {@link DocumentReader} interface to provide a way to iterate over documents
     * in a large index without loading all of them into memory at once.
     * </p>
     *
     * <p>
     * The reader supports limiting the number of documents read based on a percentage of the total documents
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. README.md

    - 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
    - Use streaming for large data imports
    
    ### Debug Logging
    
    Enable debug logging for detailed troubleshooting:
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify no exceptions
            assertTrue(exceptions.isEmpty());
        }
    
        /**
         * Test memory reference equality
         */
        public void test_memoryReferenceEquality() {
            // Enum instances are singletons
            CrawlerStatus status1 = CrawlerStatus.INITIALIZING;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.addInclude(".+"); // Match at least one character
            assertTrue(urlFilter.match("https://example.com/"));
            assertFalse(urlFilter.match(""));
        }
    
        /**
         * Test memory efficiency with large number of patterns
         */
        public void test_largeNumberOfPatterns() {
            String sessionId = "test-session-028";
            urlFilter.init(sessionId);
    
            // Add many patterns
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top