Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setReadings (0.08 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/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord1.getReadings().get(0), settings.elevateWord().get()[0].getReadings().get(0));
    
            assertEquals(elevateWord2.getElevateWord(), settings.elevateWord().get()[1].getElevateWord());
            assertEquals(elevateWord2.getBoost(), settings.elevateWord().get()[1].getBoost(), 0);
            assertEquals(elevateWord2.getReadings().get(0), settings.elevateWord().get()[1].getReadings().get(0));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            }
        }
    
        public String getElevateWord() {
            return elevateWord;
        }
    
        public float getBoost() {
            return boost;
        }
    
        public List<String> getReadings() {
            return readings;
        }
    
        public List<String> getFields() {
            return fields;
        }
    
        public List<String> getTags() {
            return tags;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                        if (elevateWord == null) {
                            elevateWord = new ElevateWord();
                            elevateWord.setSuggestWord(suggestWord);
                            elevateWord.setReading(reading);
                            elevateWord.setPermissions(permissions);
                            elevateWord.setBoost(StringUtil.isBlank(boost) ? 1.0f : Float.parseFloat(boost));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWord.java

            this.permissions = value;
        }
    
        public String getReading() {
            checkSpecifiedProperty("reading");
            return convertEmptyToNull(reading);
        }
    
        public void setReading(String value) {
            registerModifiedProperty("reading");
            this.reading = value;
        }
    
        public String getSuggestWord() {
            checkSpecifiedProperty("suggestWord");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setPermissions(toStringArray(source.get("permissions")));
                result.setReading(DfTypeUtil.toString(source.get("reading")));
                result.setSuggestWord(DfTypeUtil.toString(source.get("suggestWord")));
                result.setUpdatedBy(DfTypeUtil.toString(source.get("updatedBy")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ElevateWordDbm.java

                    "permissions");
            setupEpg(_epgMap, et -> ((ElevateWord) et).getReading(), (et, vl) -> ((ElevateWord) et).setReading(DfTypeUtil.toString(vl)),
                    "reading");
            setupEpg(_epgMap, et -> ((ElevateWord) et).getSuggestWord(), (et, vl) -> ((ElevateWord) et).setSuggestWord(DfTypeUtil.toString(vl)),
                    "suggestWord");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. 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)
  10. 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