Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildQuery (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            if (skipDuplicateWords) {
                builder.setSize(size * 2);
            } else {
                builder.setSize(size);
            }
    
            // set query.
            final QueryBuilder q = buildQuery(query, fields);
    
            // set function score
            final QueryBuilder queryBuilder = buildFunctionScoreQuery(query, q);
            builder.addSort("_score", SortOrder.DESC);
    
            // set filter query.
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            final SearchRequestBuilder builder = client.prepareSearch(index);
            builder.setSize(size);
            builder.setQuery(buildQuery());
            builder.setRescorer(buildRescore(), windowSize);
    
            builder.execute(new ActionListener<SearchResponse>() {
                @Override
    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