Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fieldValueFactorFunction (0.13 sec)

  1. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        protected void buildBoostQuery(final QueryContext queryContext) {
            queryContext.addFunctionScore(list -> {
                list.add(new FilterFunctionBuilder(
                        ScoreFunctionBuilders.fieldValueFactorFunction(ComponentUtil.getFessConfig().getIndexFieldBoost())));
                ComponentUtil.getKeyMatchHelper().buildQuery(queryContext.getDefaultKeyword(), list);
                list.addAll(boostFunctionList);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            ;
        }
    
        private QueryBuilder functionScoreQuery(QueryBuilder queryBuilder) {
            return QueryBuilders.functionScoreQuery(queryBuilder, ScoreFunctionBuilders.fieldValueFactorFunction("boost"));
        }
    
        private void assertQuery(QueryBuilder query1, QueryContext context) {
            assertQuery(query1, null, null, context);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top