Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setQueryWeight (0.36 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

        }
    
        protected QueryRescorerBuilder buildRescore() {
            return new QueryRescorerBuilder(
                    QueryBuilders.functionScoreQuery(ScoreFunctionBuilders.randomFunction().seed(seed).setField("_seq_no"))).setQueryWeight(0)
                    .setRescoreQueryWeight(1);
        }
    
        protected PopularWordsResponse createResponse(final SearchResponse searchResponse) {
            final SearchHit[] hits = searchResponse.getHits().getHits();
    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