Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setDocFreq (0.17 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        break;
                    }
                    for (final SearchHit hit : hits) {
                        final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap());
                        item.setDocFreq(0);
                        item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != SuggestItem.Kind.DOCUMENT)
                                .toArray(count -> new SuggestItem.Kind[count]));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.timestamp = timestamp;
        }
    
        public void setQueryFreq(final long queryFreq) {
            this.queryFreq = queryFreq;
        }
    
        public void setDocFreq(final long docFreq) {
            this.docFreq = docFreq;
        }
    
        public void setUserBoost(final float userBoost) {
            this.userBoost = 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)
Back to top