Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RescorerBuilder (0.22 sec)

  1. src/main/java/org/codelibs/fess/score/QueryRescorer.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.score;
    
    import java.util.Map;
    
    import org.opensearch.search.rescore.RescorerBuilder;
    
    public interface QueryRescorer {
        RescorerBuilder<?> evaluate(final Map<String, Object> params);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 835 bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top