Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getElevateWord (0.11 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            settings.elevateWord().delete(elevateWord2.getElevateWord());
            assertEquals(2, settings.elevateWord().get().length);
            assertEquals(elevateWord1.getElevateWord(), settings.elevateWord().get()[0].getElevateWord());
            assertEquals(elevateWord3.getElevateWord(), settings.elevateWord().get()[1].getElevateWord());
    
            settings.elevateWord().deleteAll();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

     */
    package org.codelibs.fess.app.web.api.admin.elevateword;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.fess.app.web.admin.elevateword.AdminElevatewordAction.getElevateWord;
    
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.Reader;
    import java.io.Writer;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    return ComponentUtil.getComponent(ElevateWordService.class).getElevateWord(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        public static OptionalEntity<ElevateWord> getElevateWord(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                this.tags = tags;
            }
            if (roles == null) {
                this.roles = Collections.emptyList();
            } else {
                this.roles = roles;
            }
        }
    
        public String getElevateWord() {
            return elevateWord;
        }
    
        public float getBoost() {
            return boost;
        }
    
        public List<String> getReadings() {
            return readings;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                logger.debug("Add elevateword. {}  elevateword: {}", arraySettings.arraySettingsIndexName, elevateWord.getElevateWord());
            }
    
            final Map<String, Object> source = new HashMap<>();
            source.put(FieldNames.ARRAY_KEY, ELEVATE_WORD_SETTINGD_KEY);
            source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord());
            source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost());
    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/app/service/ElevateWordService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return elevateWordList;
        }
    
        public OptionalEntity<ElevateWord> getElevateWord(final String id) {
            return elevateWordBhv.selectByPK(id).map(entity -> {
    
                final List<ElevateWordToLabel> wctltmList = elevateWordToLabelBhv.selectList(wctltmCb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public SuggestIndexResponse addElevateWord(final ElevateWord elevateWord, final boolean apply) {
            final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), "");
            final List<String> normalizedReadings =
                    elevateWord.getReadings().stream().map(reading -> normalizer.normalize(reading, "")).collect(Collectors.toList());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            ElevateWord[] elevateWords = suggester.settings().elevateWord().get();
            assertEquals(1, elevateWords.length);
            assertEquals("test", elevateWords[0].getElevateWord());
    
            suggester.indexer().deleteElevateWord(elevateWord.getElevateWord(), true);
            suggester.refresh();
            elevateWords = suggester.settings().elevateWord().get();
            assertEquals(0, elevateWords.length);
        }
    
        @Test
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top