Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for valides (0.37 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

        }
    
        /**
         * Strips invalid XML characters from the input string.
         *
         * This method removes characters that are not allowed in XML documents
         * according to the XML 1.0 specification. Valid characters include:
         * - Tab (0x9)
         * - Line feed (0xA)
         * - Carriage return (0xD)
         * - Any character between 0x20 and 0xD7FF
         * - Any character between 0xE000 and 0xFFFD
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(100, crawlerContext.getRobotsTxtUrlSet().size());
            assertNotNull(crawlerContext.removeSitemaps());
        }
    
        /**
         * Test boundary values
         */
        public void test_boundaryValues() {
            // Test with maximum values
            crawlerContext.setActiveThreadCount(Integer.MAX_VALUE);
            assertEquals(Integer.MAX_VALUE, crawlerContext.getActiveThreadCount().intValue());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. README.md

        transformer.setMaxContentSize(10 * 1024 * 1024); // 10MB limit
    });
    ```
    
    ## Troubleshooting
    
    ### Common Issues
    
    #### Connection Timeouts
    ```java
    // Increase timeout values
    client.setConnectionTimeout(60000);  // 60 seconds
    client.setSocketTimeout(120000);     // 120 seconds
    ```
    
    #### Memory Issues
    ```java
    // Reduce concurrent threads and batch sizes
    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/helper/RobotsTxtHelper.java

                                    }
                                } catch (final NumberFormatException e) {
                                    // ignore invalid crawl-delay values
                                }
                            }
                        } else if ((value = getValue(SITEMAP_RECORD, line)) != null && value.length() > 0) {
                            robotsTxt.addSitemap(value);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

        public void setUp() {
            testAnalyzer = new TestSuggestAnalyzer();
            analyzer = testAnalyzer;
        }
    
        @Test
        public void testAnalyzeWithValidInput() {
            // Test normal analyze with valid input
            String text = "test text";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * only one of them (allRequired = false). It also supports a default rule that always matches.
     *
     * <p>
     * The class uses a map of field names to Pattern objects to store the regular expressions.
     * The match method extracts the values of the specified fields from the ResponseData and
     * applies the corresponding regular expressions.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * RegexRule rule = new RegexRule();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertSame(cause, exception.getCause());
        }
    
        /**
         * Test constructor with null message and valid cause
         */
        public void test_constructor_withNullMessageAndValidCause() {
            Exception cause = new IllegalStateException("State error");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            // Default constructor
        }
    
        @Override
        /**
         * Sets the initialization parameters for the underlying CrawlerClient.
         *
         * @param params a map of parameter names and values to be set
         */
        public void setInitParameterMap(final Map<String, Object> params) {
            client.setInitParameterMap(params);
        }
    
        /**
         * Executes the request with retry logic.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         */
        public Directive getDirective(final String userAgent) {
            if (userAgent == null) {
                return null;
            }
            for (final Directive directive : directiveMap.values()) {
                if (userAgent.equals(directive.getUserAgent())) {
                    return directive;
                }
            }
            return null;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger errorCount = new AtomicInteger(0);
    
            // Set initial values
            testRule.setRuleId("concurrentRule");
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setResponseProcessor(processor);
    
            for (int i = 0; i < threadCount; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top