Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for buildQuery (0.08 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)
  4. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

            if (map != null) {
                return map;
            }
            return Collections.emptyMap();
        }
    
        public void buildQuery(final List<String> keywordList, final List<FilterFunctionBuilder> list) {
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            keywordList.stream().forEach(keyword -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                list.add(new FilterFunctionBuilder(
                        ScoreFunctionBuilders.fieldValueFactorFunction(ComponentUtil.getFessConfig().getIndexFieldBoost())));
                ComponentUtil.getKeyMatchHelper().buildQuery(queryContext.getDefaultKeyword(), list);
                list.addAll(boostFunctionList);
            });
        }
    
        public void buildBaseQuery(final QueryContext queryContext, final Consumer<QueryContext> context) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top