Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for headings (6.5 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/entity/SuggestItemTest.java

            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
    
            assertNotNull(item);
            assertEquals("text", item.getText());
            assertArrayEquals(readings, item.getReadings());
            assertNotNull(item.getFields());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testMultipleReadingsConversion() {
            // Test conversion of multiple readings to SuggestItem format
            String word = "multi reading";
            float boost = 1.0f;
            List<String> readings = Arrays.asList("reading1", "reading2", "reading3", "reading4", "reading5");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            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));
            assertEquals("TEST", readings2.get(0));
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @param elevateWord the elevate word
         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top