Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for elevateWords (0.08 sec)

  1. 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)
  2. 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)
  3. 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);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord1.getBoost(), settings.elevateWord().get()[0].getBoost(), 0);
            assertEquals(elevateWord1.getReadings().get(0), settings.elevateWord().get()[0].getReadings().get(0));
    
            assertEquals(elevateWord2.getElevateWord(), settings.elevateWord().get()[1].getElevateWord());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

    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 {
    
        private static final long serialVersionUID = 1L;
    
        private String[] labelTypeIds;
    
        private volatile List<LabelType> labelTypeList;
    
        /* (non-Javadoc)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends ElevateWord> typeOfSelectedEntity() {
            return ElevateWord.class;
        }
    
        @Override
        protected Class<ElevateWord> typeOfHandlingEntity() {
            return ElevateWord.class;
        }
    
        @Override
        protected Class<ElevateWordCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top