Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addFunctionScore (0.16 sec)

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

                        fieldLogMap = new HashMap<>();
                        request.setAttribute(Constants.FIELD_LOGS, fieldLogMap);
                    }
                });
            }
        }
    
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
            final List<FilterFunctionBuilder> list = new ArrayList<>();
            functionScoreQuery.accept(list);
    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/main/java/org/codelibs/fess/helper/QueryHelper.java

            boolQuery.filter(roleQuery);
        }
    
        protected void buildBoostQuery(final QueryContext queryContext) {
            queryContext.addFunctionScore(list -> {
                list.add(new FilterFunctionBuilder(
                        ScoreFunctionBuilders.fieldValueFactorFunction(ComponentUtil.getFessConfig().getIndexFieldBoost())));
    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