- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RescorerBuilder (0.22 sec)
-
src/main/java/org/codelibs/fess/score/QueryRescorer.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 835 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/LtrQueryRescorer.java
import org.codelibs.fess.util.ComponentUtil; import org.opensearch.search.rescore.QueryRescorerBuilder; import org.opensearch.search.rescore.RescorerBuilder; public class LtrQueryRescorer implements QueryRescorer { @Override public RescorerBuilder<?> evaluate(final Map<String, Object> params) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
boostFunctionList.add(new FilterFunctionBuilder(filter, scoreFunction)); } public RescorerBuilder<?>[] getRescorers(final Map<String, Object> params) { return queryRescorerList.stream().map(r -> r.evaluate(params)).filter(b -> b != null).toArray(n -> new RescorerBuilder<?>[n]); } public void addQueryRescorer(final QueryRescorer rescorer) { queryRescorerList.add(rescorer);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0)