Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for functionScoreQuery (0.13 sec)

  1. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    }
                });
            }
        }
    
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
            final List<FilterFunctionBuilder> list = new ArrayList<>();
            functionScoreQuery.accept(list);
            queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            float titleBoost = 0.5f;
            float contentBoost = 0.05f;
    
            assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), //
                    Map.of("_default", List.of("QUERY")), //
                    Set.of("QUERY"), //
                    buildQuery("QUERY"));
            assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), //
                    Map.of("_default", List.of("QUERY")), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder,
                    flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]));
    
            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            functionScoreQueryBuilder.scoreMode(FunctionScoreQuery.ScoreMode.MULTIPLY);
    
            return functionScoreQueryBuilder;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            FunctionScoreQueryBuilder functionScoreQuery =
                    QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
            regQ(functionScoreQuery);
            return functionScoreQuery;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            FunctionScoreQueryBuilder functionScoreQuery =
                    QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
            regQ(functionScoreQuery);
            return functionScoreQuery;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            FunctionScoreQueryBuilder functionScoreQuery =
                    QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
            regQ(functionScoreQuery);
            return functionScoreQuery;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            if (!excludeWords.isEmpty()) {
                queryBuilder.mustNot(QueryBuilders.termsQuery(FieldNames.TEXT, excludeWords));
            }
            final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder,
                    ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ).missing(0));
            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            return functionScoreQueryBuilder;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
                                flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
                        .boostMode(CombineFunction.MULTIPLY));
    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