Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for readings1 (0.07 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateBulkLineWithMultipleReadings() {
            // Test with multiple reading levels
            SuggestItem item = new SuggestItem(new String[] { "test" },
                    new String[][] { { "reading1a", "reading1b" }, { "reading2a", "reading2b" }, { "reading3" } }, new String[] { "field1" }, 5,
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES);
                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
        /**
         * Add an elevate word.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            assertEquals(0, nullValues.length);
        }
    
        @Test
        public void test_parseSearchWords() throws Exception {
            String[] words = new String[] { "検索", "エンジン" };
            String[][] readings = new String[][] { new String[] { "kensaku" }, new String[] { "enjin" } };
            String[] fields = new String[] { "content" };
            String[] tags = new String[] { "tag1" };
            String[] roles = new String[] { "role1" };
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. CLAUDE.md

    ### SuggestItem (Domain Entity)
    Location: `src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java`
    
    Core attributes: `text`, `timestamp`, `queryFreq`, `docFreq`, `userBoost`, `readings`, `tags`, `roles`, `languages`, `kinds`
    
    Kind types: `DOCUMENT`, `QUERY`, `USER`
    
    ---
    
    ## Development Workflow
    
    ### Build Commands
    
    ```bash
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top