Uses of Class
org.apache.lucene.index.FieldInvertState
-
Packages that use FieldInvertState Package Description org.apache.lucene.search.similarities This package contains the various ranking models that can be used in Lucene. -
-
Uses of FieldInvertState in org.apache.lucene.search.similarities
Methods in org.apache.lucene.search.similarities with parameters of type FieldInvertState Modifier and Type Method Description long
BM25Similarity. computeNorm(FieldInvertState state)
long
MultiSimilarity. computeNorm(FieldInvertState state)
long
PerFieldSimilarityWrapper. computeNorm(FieldInvertState state)
abstract long
Similarity. computeNorm(FieldInvertState state)
Computes the normalization value for a field, given the accumulated state of term processing for this field (seeFieldInvertState
).long
SimilarityBase. computeNorm(FieldInvertState state)
Encodes the document length in the same way asTFIDFSimilarity
.long
TFIDFSimilarity. computeNorm(FieldInvertState state)
float
DefaultSimilarity. lengthNorm(FieldInvertState state)
Implemented asstate.getBoost()*lengthNorm(numTerms)
, wherenumTerms
isgetLength()
ifDefaultSimilarity.setDiscountOverlaps(boolean)
is false, else it'sgetLength()
-getNumOverlap()
.abstract float
TFIDFSimilarity. lengthNorm(FieldInvertState state)
Compute an index-time normalization value for this field instance.
-