Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buildQuery (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("QUERY1 QUERY2")), //
                    Set.of("QUERY1", "QUERY2"), //
                    buildQuery("\"QUERY1 QUERY2\""));
            assertQueryContext(buildQuery("\"QUERY1 QUERY2\"").getQueryBuilder().toString().replaceAll("\\s", ""),
                    buildQuery("aaa:\"QUERY1 QUERY2\""));
    
            assertQueryContext(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. 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)
  3. 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