Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setReadings (0.3 sec)

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

                final List<String> list = new ArrayList<>();
                if (item1.getReadings().length > i) {
                    Collections.addAll(list, item1.getReadings()[i]);
                }
                if (item2.getReadings().length > i) {
                    for (final String reading : item2.getReadings()[i]) {
                        if (!list.contains(reading)) {
                            list.add(reading);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord());
            source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost());
            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
            source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. 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());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), "");
            final List<String> normalizedReadings =
                    elevateWord.getReadings().stream().map(reading -> normalizer.normalize(reading, "")).collect(Collectors.toList());
            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top