Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for both (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

     * </ul>
     *
     * <p>
     * The class uses synchronization to ensure thread safety when accessing and modifying the URL queue.
     * It also checks for duplicate URLs before adding them to the queue,
     * both within the queue itself and against previously accessed URLs stored in the {@link MemoryDataHelper}.
     * </p>
     *
     */
    /**
     * This class is an implementation of {@link UrlQueueService}.
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * form-based authentication for HTTP clients. It handles the process of
     * obtaining a token and logging in using the provided credentials.
     *
     * <p>This class supports both GET and POST methods for token and login
     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         * desired, and use YYYY-MM-DD.
         *
         * Note that this tag is separate from the If-Modified-Since (304) header
         * the server can return, and search engines may use the information from
         * both sources differently.
         */
        private String lastmod;
    
        /**
         * How frequently the page is likely to change. This value provides general
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         */
        @Override
        public void saveSession(final String sessionId) {
            // TODO use cache
        }
    
        /**
         * Checks if a URL has been visited by looking in both the queue and access results.
         *
         * @param urlQueue The URL queue entry to check.
         * @return true if the URL has been visited, false otherwise.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertNotNull(elevateWord.getRoles());
            assertTrue(elevateWord.getRoles().isEmpty());
        }
    
        @Test
        public void testConstructorWithNullTagsAndRoles() {
            // Test constructor with both null tags and roles
            String word = "test word";
            float boost = 3.0f;
            List<String> readings = Arrays.asList("reading1", "reading2", "reading3");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                // Wait for both crawlers to start with polling
                long startTime = System.currentTimeMillis();
                while ((crawler1.crawlerContext.getStatus() != CrawlerStatus.RUNNING
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                // Wait for both crawlers to start with polling
                long startTime = System.currentTimeMillis();
                while ((crawler1.crawlerContext.getStatus() != CrawlerStatus.RUNNING
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertFalse(conditionalRule.match(responseData)); // Doesn't match pattern
    
            testRule.setMatchResult(true);
            assertTrue(testRule.match(responseData)); // Always matches when set to true
    
            // Both should inherit same property behavior
            conditionalRule.setRuleId("conditional");
            testRule.setRuleId("test");
    
            assertEquals("conditional", conditionalRule.getRuleId());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(75L, merged.getDocFreq()); // Sum of frequencies
            assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boost
    
            // Check merged arrays contain both items' values
            assertTrue(merged.getTags().length >= 2);
            assertTrue(merged.getRoles().length >= 2);
            assertTrue(merged.getLanguages().length >= 2);
            assertEquals(2, merged.getKinds().length);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings1 = builder.build(client, "id1");
            SuggestSettings settings2 = builder.build(client, "id2");
    
            assertNotNull(settings1);
            assertNotNull(settings2);
            // Both should be created with the same configuration
            assertEquals("multi_index", builder.settingsIndexName);
            assertEquals("multiValue", builder.initialSettings.get("multi.key"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top