- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for elevateword (0.23 sec)
-
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.3K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.7K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.5K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.8K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.9K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 26.1K bytes - Viewed (0)