Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 553 for readings (0.35 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

        protected final String elevateWord;
        protected final float boost;
        protected final List<String> readings;
        protected final List<String> fields;
        protected final List<String> tags;
        protected final List<String> 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: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                }
                if (item2.getReadings().length > i) {
                    for (final String reading : item2.getReadings()[i]) {
                        if (!list.contains(reading)) {
                            list.add(reading);
                        }
                    }
                }
                mergedItem.readings[i] = list.toArray(new String[list.size()]);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. 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: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  5. README.md

      );
    ```
    
    ### Add suggest document
    
    ```java
    String[][] readings = new String[2][];
    readings[0] = new String[] { "kensaku", "fuga" };
    readings[1] = new String[] { "enjin", "fuga" };
    String[] tags = new String[] { "tag1", "tag2" };
    String[] roles = new String[] { "role1", "role2", "role3" };
    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. README.ja.md

      );
    ```
    
    ### サジェストドキュメントの登録
    
    ```java
    String[][] readings = new String[2][];
    readings[0] = new String[] { "kensaku", "fuga" };
    readings[1] = new String[] { "enjin", "fuga" };
    String[] tags = new String[] { "tag1", "tag2" };
    String[] roles = new String[] { "role1", "role2", "role3" };
    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        public void addElevateWord(final String word, final String reading, final String[] tags, final String[] permissions, final Float boost,
                final boolean apply) {
            final String[] readings;
            if (StringUtil.isBlank(reading)) {
                readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K 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;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    
    public interface ContentsParser {
        SuggestItem parseSearchWords(String[] words, String[][] readings, String[] fields, String[] tags, String roles[], long score,
                ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final Map<String, Object> secondLine = new HashMap<>();
    
            secondLine.put("text", item.getText());
    
            // reading
            final String[][] readings = item.getReadings();
            for (int i = 0; i < readings.length; i++) {
                secondLine.put("reading_" + i, readings[i]);
            }
    
            secondLine.put("fields", item.getFields());
            secondLine.put("queryFreq", item.getQueryFreq());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top