Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for Should (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(1.0f, item.getUserBoost(), 0.001f); // Should be set to 1
    
            // Test with boost greater than 1
            SuggestItem item2 = new SuggestItem(text, readings, null, 0L, 0L, 2.5f, null, null, null, SuggestItem.Kind.QUERY);
            assertEquals(2.5f, item2.getUserBoost(), 0.001f); // Should keep the value
        }
    
        @Test(expected = IllegalArgumentException.class)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

        public void test_transform_variousResponseDataStates() {
            // Empty ResponseData - should return a valid ResultData with empty/null data
            ResponseData emptyData = new ResponseData();
            ResultData result1 = testTransformer.transform(emptyData);
            assertNotNull(result1);
            assertNotNull(result1.getData()); // Transform should return ResultData with some data
    
            // ResponseData with only URL
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
     * <p>Note: The name should not be blank and the value should not be null for the header to be considered valid.</p>
     *
     * @see java.io.Serializable
     */
    public class RequestHeader implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

         */
        protected abstract void delayForWaitingNewUrl();
    
        /**
         * Checks if exceptions during the delay process should be ignored.
         * @return true if exceptions should be ignored, false otherwise.
         */
        public boolean isIgnoreException() {
            return ignoreException;
        }
    
        /**
         * Sets whether to ignore exceptions.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            TestReadingConverterWithException errorConverter = new TestReadingConverterWithException();
            errorConverter.setThrowExceptionOnInit(true);
    
            try {
                errorConverter.init();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertEquals("Init failed", e.getMessage());
            }
        }
    
        @Test
        public void testConvertWithNormalText() throws IOException {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/Response.java

     * in the suggestion system. Implementations of this interface are used to
     * encapsulate the results of various operations and queries within the system.
     *
     * <p>Classes implementing this interface should provide specific details and
     * data relevant to the type of response they represent.</p>
     */
    public interface Response {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

    import java.util.Map;
    
    import org.codelibs.fess.crawler.entity.ExtractData;
    
    /**
     * The Extractor interface defines methods for extracting text data from an input stream.
     * Implementations of this interface should provide the logic for extracting text and
     * optionally override the default weight value.
     */
    public interface Extractor {
    
        /**
         * Extracts text data from the given input stream.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

         *
         * @param message the detail message
         * @param enableSuppression whether or not suppression is enabled
         * @param writableStackTrace whether or not the stack trace should be writable
         */
        protected CrawlerSystemException(final String message, final boolean enableSuppression, final boolean writableStackTrace) {
            super(message, null, enableSuppression, writableStackTrace);
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

         */
        void addIncludeUrlFilter(String sessionId, String url);
    
        /**
         * Adds a list of URLs to the include filter for a given session.
         *
         * @param sessionId the ID of the session for which the URLs should be included
         * @param urlList the list of URLs to be added to the include filter
         */
        void addIncludeUrlFilter(String sessionId, List<String> urlList);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         * <li>daily</li>
         * <li>weekly</li>
         * <li>monthly</li>
         * <li>yearly</li>
         * <li>never</li>
         * </ul>
         * The value "always" should be used to describe documents that change each
         * time they are accessed. The value "never" should be used to describe
         * archived URLs.
         *
         * Please note that the value of this tag is considered a hint and not a
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top