Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for headings (5.22 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java

            CloseableUtil.closeQuietly(in);
    
            // Verify heading metadata
            final String[] headings = extractData.getValues("headings");
            assertNotNull(headings);
            assertTrue(headings.length > 0);
    
            boolean foundIntroduction = false;
            boolean foundFeatures = false;
            for (final String heading : headings) {
                if (heading.contains("Introduction")) {
                    foundIntroduction = true;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

                        headings.add(headingText.toString());
                    }
                    super.visit(heading);
                }
            });
    
            if (!headings.isEmpty()) {
                extractData.putValues("headings", headings.toArray(new String[0]));
            }
        }
    
        /**
         * Extracts link URLs from the document.
         *
         * @param document the parsed Markdown document
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            String[][] readings1 = new String[1][];
            readings1[0] = new String[] { "doc" };
            items[0] = new SuggestItem(new String[] { "ドキュメント" }, readings1, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2 = new String[1][];
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            String[][] readings1 = new String[1][];
            readings1[0] = new String[] { "test1" };
            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "test2" };
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "test3" };
    
            SuggestItem item1 = new SuggestItem(new String[] { "テスト1" }, readings1, new String[] { "content" }, 1, 0, -1,
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateBulkLine() {
            // Test creating bulk line for indexing
            SuggestItem item = new SuggestItem(new String[] { "test text" }, new String[][] { { "reading1" }, { "reading2" } },
                    new String[] { "field1", "field2" }, 10, // queryFreq
                    5, // docFreq
                    2.0f, // userBoost
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null,
                    SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2 = new String[2][];
            readings2[0] = new String[] { "zenbun", "fuga" };
            readings2[1] = new String[] { "kensaku", "fuga" };
            String[] tags2 = new String[] { "tag3" };
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    if (readings != null && readings.length > i && readings[i].length > 0) {
                        for (final String reading : readings[i]) {
                            if (!l.contains(reading)) {
                                l.add(reading);
                            }
                        }
                    }
    
                    wordsList.add(word);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final boolean apply) {
            final String[] readings;
            if (StringUtil.isBlank(reading)) {
                readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            } else {
                readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            }
    
            final List<String> labelList = new ArrayList<>();
            if (tags != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

    import java.io.IOException;
    import java.util.List;
    
    /**
     * Interface for converting text into its reading form.
     */
    public interface ReadingConverter {
    
        /**
         * Returns the maximum number of readings.
         *
         * @return the maximum number of readings, default is 10.
         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

        }
    
        @Test
        public void test_addLang() throws Exception {
            SuggestItem[] items = new SuggestItem[1];
            String[][] readings = new String[1][];
            readings[0] = new String[] { "test" };
            items[0] = new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top