Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for sale (0.57 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/store", "PriorityBot"));
            assertFalse(robotsTxt.allows("/store/items", "PriorityBot"));
            assertTrue(robotsTxt.allows("/store/public", "PriorityBot")); // Allow is more specific
            assertTrue(robotsTxt.allows("/store/public/items", "PriorityBot"));
            assertFalse(robotsTxt.allows("/store/public/sale", "PriorityBot")); // Most specific disallow
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * that controls the interval between requests to the same host.
     * It uses a Guava Cache to store the last access time for each host.
     * The delayBeforeProcessing method is overridden to introduce a delay before processing a URL,
     * ensuring that requests to the same host are not made too frequently.
     * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final long numOfDeleted = searchEngineClient.deleteByQuery(index, queryBuilder);
                    logger.info("[{}] Deleted {} stale documents.", dataConfig.getName(), numOfDeleted);
                } catch (final Exception e) {
                    logger.error("[{}] Failed to delete stale documents.", dataConfig.getName(), e);
                }
            }
    
            /**
             * Checks if the crawling thread has finished execution.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. CLAUDE.md

    Execution context and configuration.
    
    **Important Fields**:
    ```java
    String sessionId                // Format: yyyyMMddHHmmssSSS
    volatile CrawlerStatus status   // DONE, RUNNING
    AtomicLong accessCount          // Thread-safe counter
    int numOfThread = 10            // Crawler threads
    int maxDepth = -1               // Max depth (-1 = unlimited)
    long maxAccessCount = 0         // Max URLs (0 = unlimited)
    ```
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
            // All threads should fail with the same IOException (project ID is blank)
            // But importantly, there should be no race condition errors
            assertEquals(threadCount, failureCount.get());
            assertEquals(0, successCount.get());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test isPathSafe with safe path
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_SafePath() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path safePath = baseDir.resolve("subdir/file.txt");
    
            assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

        protected static final int DEFAULT_BUF_SIZE = 4096; // 4k
    
        /** Max Buffer Size */
        protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m
    
        /**
         * Validates that a given path is safe and does not attempt path traversal attacks.
         * <p>
         * This method checks if the resolved absolute path starts with the allowed base directory,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            // Mix of same and different hosts
            for (int i = 0; i < numTasks; i++) {
                final int index = i;
                tasks.add(new Callable<Integer>() {
                    public Integer call() throws Exception {
                        final UrlQueue q = new UrlQueueImpl();
                        // Use modulo to create multiple accesses to same hosts
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
            // All threads should fail with the same IOException (endpoint is blank)
            // But importantly, there should be no race condition errors
            assertEquals(threadCount, failureCount.get());
            assertEquals(0, successCount.get());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        protected long requestInterval = 500;
    
        /**
         * Sends a list of documents to the search engine for indexing.
         * This method handles thumbnail processing, deletes old documents with the same URL,
         * and performs bulk indexing operations with proper error handling.
         *
         * @param searchEngineClient the search engine client to use for indexing
         * @param docList the list of documents to be indexed
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top