Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for docFreq (0.06 sec)

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

            final Object docFreqObj = existingSource.get(FieldNames.DOC_FREQ);
            if (docFreqObj == null) {
                updatedDocFreq = docFreq;
            } else {
                final Long existingValue = Long.parseLong(docFreqObj.toString());
                updatedDocFreq = docFreq + existingValue;
            }
            map.put(FieldNames.DOC_FREQ, updatedDocFreq);
    
            map.put(FieldNames.USER_BOOST, userBoost);
    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 READING_PREFIX = "reading_";
        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";
    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("reading_" + i, readings[i]);
            }
    
            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());
    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/index/SuggestIndexer.java

            final long start = System.currentTimeMillis();
    
            final SuggestDeleteResponse deleteResponse =
                    deleteByQuery(QueryBuilders.boolQuery().must(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1))
                            .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()))
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                        ScoreFunctionBuilders.weightFactorFunction(prefixMatchWeight)));
            }
    
            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.DOC_FREQ)
                    .missing(0.1f).modifier(FieldValueFactorFunction.Modifier.LOG2P).setWeight(1.0F)));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
        public long getQueryWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1));
        }
    
        private long getNum(final QueryBuilder queryBuilder) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top