Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for randomFunction (0.16 sec)

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

            return functionScoreQueryBuilder;
        }
    
        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) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>();
                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top