Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getTerm (0.04 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertEquals("Hello", tokens.get(0).getTerm());
            assertEquals("world", tokens.get(1).getTerm());
            assertEquals("How", tokens.get(2).getTerm());
            assertEquals("are", tokens.get(3).getTerm());
            assertEquals("you", tokens.get(4).getTerm());
            assertEquals("I", tokens.get(5).getTerm());
            assertEquals("m", tokens.get(6).getTerm());
            assertEquals("fine", tokens.get(7).getTerm());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            } catch (final Exception e) {
                return keywords;
            }
            for (final TermQuery tq : termQueryList) {
                final String text = tq.getTerm().text();
                if (0 == text.length() || keywords.contains(text)) {
                    continue;
                }
                keywords.add(text);
            }
            return keywords;
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Set<String> getApiPingEsFieldSet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(defaultConfig.getMachineId(), "Machine ID should not be null");
        }
    
        @Test
        @DisplayName("Test network configuration getters")
        void testNetworkConfigurationGetters() {
            assertEquals(0, config.getLocalPort());
            assertEquals(SmbConstants.DEFAULT_CONN_TIMEOUT, config.getConnTimeout());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(20, context.getMaxThreadCheckCount());
            assertEquals(-1, context.getMaxDepth());
            assertEquals(0L, context.getMaxAccessCount());
        }
    
        /**
         * Test sessionId getter and setter
         */
        public void test_sessionId() {
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("test-session-001");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Test direct field access through inheritance
            TestDictionaryItem item = new TestDictionaryItem();
    
            // Direct field assignment
            item.id = 999L;
    
            // Verify through getter
            assertEquals(999L, item.getId());
    
            // Verify direct field access
            assertEquals(999L, item.id);
        }
    
        public void test_sequentialIdAssignment() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessNotification.java

         *
         * @param address the old IP address
         */
        public void addOldIPAddress(InetAddress address) {
            oldIPAddresses.add(new WitnessIPAddress(address));
        }
    
        // Getters and Setters
    
        /**
         * Gets the event type.
         *
         * @return the event type
         */
        public WitnessEventType getEventType() {
            return eventType;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

     * Provides common functionality and properties for crawler rules.
     *
     * <p>
     * This class handles the registration of rules with the {@link RuleManager}
     * and provides getter and setter methods for common properties such as
     * {@code ruleId} and {@code responseProcessor}.
     * </p>
     *
     * <p>
     * Subclasses should extend this class and implement the abstract methods
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                fail("Should propagate exception from listener");
            } catch (Exception e) {
                assertTrue(e.getMessage().contains("Test exception"));
            }
        }
    
        /**
         * Test getter and setter for componentName
         */
        public void test_componentName_getterSetter() {
            assertNull(factory.getComponentName());
    
            factory.setComponentName("testName");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top