Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for userBoost (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
    
            this.languages = languages != null ? languages : new String[] {};
    
            kinds = new Kind[] { kind };
            if (userBoost > 1) {
                this.userBoost = userBoost;
            } else {
                this.userBoost = 1;
            }
            this.docFreq = docFreq;
            this.queryFreq = queryFreq;
            timestamp = ZonedDateTime.now();
            emptySource = createEmptyMap();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

        public static final String SCORE = "score";
        public static final String QUERY_FREQ = "queryFreq";
        public static final String DOC_FREQ = "docFreq";
        public static final String USER_BOOST = "userBoost";
        public static final String KINDS = "kinds";
        public static final String TIMESTAMP = "@timestamp";
        public static final String TAGS = "tags";
        public static final String ROLES = "roles";
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            }
    
            secondLine.put("fields", item.getFields());
            secondLine.put("queryFreq", item.getQueryFreq());
            secondLine.put("docFreq", item.getDocFreq());
            secondLine.put("userBoost", item.getUserBoost());
            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(
                    ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.USER_BOOST).missing(1f).setWeight(1.0F)));
            final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top