Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for listOf (0.02 sec)

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

            List<AnalyzeToken> tokensContent = analyzer.analyze(text, "content", lang);
            assertNotNull(tokensContent);
            assertEquals(2, tokensContent.size());
    
            List<AnalyzeToken> tokensTitle = analyzer.analyze(text, "title", lang);
            assertNotNull(tokensTitle);
            assertEquals(2, tokensTitle.size());
    
            // Test with null field
            List<AnalyzeToken> tokensNull = analyzer.analyze(text, null, lang);
    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/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            converter1.init();
            converter2.init();
    
            String text = "test";
            String field = "content";
    
            List<String> readings1 = converter1.convert(text, field, "en");
            List<String> readings2 = converter2.convert(text, field, "ja");
    
            assertNotNull(readings1);
            assertNotNull(readings2);
            assertEquals("TEST", readings1.get(0));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            TestComponent.resetCounter();
            factory.setComponentName("testComponent");
    
            final int threadCount = 10;
            final int objectsPerThread = 10;
            final List<TestComponent> createdComponents = new ArrayList<>();
            final List<Exception> exceptions = new ArrayList<>();
    
            Thread[] threads = new Thread[threadCount];
            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
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            List<String> results = converter.convert(text, field, "en", "ja");
    
            assertNotNull(results);
            // With multiple languages, should use ReadingConverterChain
        }
    
        @Test
        public void testConvertWithEmptyText() throws IOException {
            // Test convert with empty text
            String text = "";
            String field = "content";
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.ResponseData;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

         *
         * @param accessResult the access result to update
         */
        void update(RESULT accessResult);
    
        /**
         * Updates the given list of access results.
         *
         * @param accessResult the list of access results to update
         */
        void update(List<RESULT> accessResult);
    
        /**
         * Returns the count of access results for the given session ID.
         *
         * @param sessionId the session ID
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Queue;
    
    /**
     * A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text.
     * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                        offset += term.length();
                    }
                }
    
                final List<String> list = new ArrayList<>(1);
                if (readingBuf.length() > 0) {
                    list.add(readingBuf.toString());
                }
                return list;
            }
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

         * @param name The name of the field.
         * @param values The list of values for the field.
         * @return The result data body.
         */
        protected String getResultDataBody(final String name, final List<String> values) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<list>");
            if (values != null && !values.isEmpty()) {
                for (final String value : values) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test with List
            List<String> originalList = Arrays.asList("one", "two", "three");
            List<String> resultList = SuggestUtil.getAsList(originalList);
            assertNotNull(resultList);
            assertEquals(3, resultList.size());
            assertEquals(originalList, resultList);
        }
    
        @Test(expected = IllegalArgumentException.class)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top