Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for elevateword (0.1 sec)

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

    import java.util.Collections;
    import java.util.List;
    
    public class ElevateWord {
    
        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,
    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/es/config/exentity/ElevateWord.java

    import org.codelibs.fess.es.config.bsentity.BsElevateWord;
    import org.codelibs.fess.es.config.exbhv.ElevateWordToLabelBhv;
    import org.codelibs.fess.es.config.exbhv.LabelTypeBhv;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.ListResultBean;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class ElevateWord extends BsElevateWord {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            ElevateWord elevateWord3 = new ElevateWord("c", 100.0f, Collections.singletonList("c"), Collections.singletonList("content"),
                    Collections.singletonList("tag1"), Collections.singletonList("role1"));
    
            settings.elevateWord().add(elevateWord1);
            settings.elevateWord().add(elevateWord2);
            settings.elevateWord().add(elevateWord3);
    
            assertEquals(3, settings.elevateWord().get().length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K 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/es/config/bsbhv/BsElevateWordBhv.java

        }
    
        @Override
        protected Class<? extends ElevateWord> typeOfSelectedEntity() {
            return ElevateWord.class;
        }
    
        @Override
        protected Class<ElevateWord> typeOfHandlingEntity() {
            return ElevateWord.class;
        }
    
        @Override
        protected Class<ElevateWordCB> typeOfHandlingConditionBean() {
            return ElevateWordCB.class;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ElevateWordDbm.java

        {
            setupEpg(_epgMap, et -> ((ElevateWord) et).getBoost(), (et, vl) -> ((ElevateWord) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((ElevateWord) et).getCreatedBy(), (et, vl) -> ((ElevateWord) et).setCreatedBy(DfTypeUtil.toString(vl)),
                    "createdBy");
            setupEpg(_epgMap, et -> ((ElevateWord) et).getCreatedTime(), (et, vl) -> ((ElevateWord) et).setCreatedTime(DfTypeUtil.toLong(vl)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                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;
        }
    
        public void add(final ElevateWord elevateWord) {
            if (logger.isDebugEnabled()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            ElevateWord elevateWord1 =
                    new ElevateWord("test", 2.0f, Collections.singletonList("test"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
                    new ElevateWord("hoge", 2.0f, Collections.singletonList("hoge"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord3 =
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        @Resource
        protected SuggestHelper suggestHelper;
    
        // GET /api/admin/elevateword
        // POST /api/admin/elevateword
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final ElevateWordPager pager = copyBeanToNewBean(body, ElevateWordPager.class);
            final List<ElevateWord> list = elevateWordService.getElevateWordList(pager);
            return asJson(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final List<Throwable> errors = new ArrayList<>(elevateWords.length);
            for (final ElevateWord elevateWord : elevateWords) {
                final SuggestIndexResponse res = addElevateWord(elevateWord, true);
                numberOfSuggestDocs += res.getNumberOfSuggestDocs();
                numberOfInputDocs += res.getNumberOfInputDocs();
                errors.addAll(res.getErrors());
            }
    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