Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Scenarios (0.48 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * </p>
     * <pre>
     * Map&lt;K, V&gt; syncMap = Collections.synchronizedMap(new LruHashMap&lt;&gt;(100));
     * </pre>
     * <p>
     * Alternatively, for high-concurrency scenarios, consider implementing a custom
     * LRU cache using {@link java.util.concurrent.ConcurrentHashMap} with an eviction strategy.
     * </p>
     *
     * @author koichik
     * @param <K> the key type
     * @param <V> the value type
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - Input validation using `validateInputStream()`
    
    **Covered Extractors**:
    - MsWordExtractor
    - MsExcelExtractor
    - MsPowerPointExtractor
    - TextExtractor
    
    **Test Count**: 8 tests
    
    **Key Scenarios**:
    - ✅ Successful extraction closes resources properly
    - ✅ Failed extraction includes descriptive error messages
    - ✅ Null input stream validation
    - ✅ Error messages include file type context
    
    ---
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. CLAUDE.md

    - `CurlResponseTest`: Tests for response handling, status codes, content retrieval, resource management
    - `CurlExceptionTest`: Tests for exception handling and error scenarios
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/CrawlJob.java

     *
     * <p>The job supports selective crawling by specifying configuration IDs for different
     * types of crawlers (web, file, data). It manages the crawler process lifecycle,
     * handles timeout scenarios, and ensures proper cleanup of resources.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Concurrent crawler process management with configurable limits</li>
     *   <li>Selective crawling based on configuration IDs</li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. MIGRATION.md

    **Configuration**: Set `web.api.gsa=true` in `system.properties` to enable GSA compatibility features.
    
    For most migration scenarios, we recommend using the modern JSON Search API (`/api/v1/documents`) instead.
    
    ### Admin APIs
    
    All admin APIs require authentication (`-u admin:admin` or Bearer token).
    
    **Base Path**: `/api/admin/`
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

     * using the Apache Tika library. It extends {@link PasswordBasedExtractor} to handle password-protected files.
     * </p>
     *
     * <p>
     * This class provides methods to extract text from an input stream, handling different scenarios such as:
     * </p>
     * <ul>
     *   <li>Normalizing text content</li>
     *   <li>Handling resource names and content types</li>
     *   <li>Retrying extraction without resource name or content type if the initial attempt fails</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            String result = data.toString();
            assertNotNull(result);
            assertTrue(result.contains("ExtractData"));
        }
    
        public void test_complexScenario() {
            // Test complex scenario with multiple operations
            ExtractData data = new ExtractData();
    
            // Set content
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            // Test close without any file
            ResponseData data = new ResponseData();
            data.close(); // Should not throw exception
        }
    
        public void test_complexScenario() {
            // Test complex scenario with multiple operations
            ResponseData data = new ResponseData();
    
            // Set various properties
            data.setUrl("https://example.com/page");
            data.setHttpStatusCode(200);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when project ID is blank
            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            // data1 should also be modified (same object)
            assertEquals("https://modified.com", data1.getUrl());
        }
    
        public void test_complexScenarioWithGet() {
            // Test complex scenario with GET method
            RequestData data = RequestDataBuilder.newRequestData().get().url("https://api.example.com/users/123").weight(0.8f).build();
    
            assertEquals(Method.GET, data.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top