Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for QueryRescorerBuilder (0.21 sec)

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

    import org.codelibs.fess.es.query.StoredLtrQueryBuilder;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    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) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            return functionScoreQueryBuilder;
        }
    
        protected QueryRescorerBuilder buildRescore() {
            return new QueryRescorerBuilder(
                    QueryBuilders.functionScoreQuery(ScoreFunctionBuilders.randomFunction().seed(seed).setField("_seq_no"))).setQueryWeight(0)
                    .setRescoreQueryWeight(1);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top