Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Background (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        /**
         * Checks if the crawler is running in background mode.
         * @return true if in background mode, false otherwise.
         */
        public boolean isBackground() {
            return background;
        }
    
        /**
         * Sets the background mode for the crawler.
         * If true, the execute method will not wait for termination.
         * @param background true to run in background, false otherwise.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. README.md

    Crawler crawler = container.getComponent("crawler");
    crawler.addUrl("https://example.com");
    crawler.crawlerContext.setMaxAccessCount(500);
    String sessionId = crawler.execute();
    ```
    
    ### Background Crawling
    
    ```java
    // Configure for background execution
    crawler.setBackground(true);
    String sessionId = crawler.execute();
    
    // Check crawling status
    while (crawler.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top