Uses of Class
org.apache.lucene.index.FieldInvertState
-
Packages that use FieldInvertState Package Description org.apache.lucene.misc Miscellaneous index tools.org.apache.lucene.search Code to search indices. -
-
Uses of FieldInvertState in org.apache.lucene.misc
Methods in org.apache.lucene.misc with parameters of type FieldInvertState Modifier and Type Method Description float
SweetSpotSimilarity. computeNorm(String fieldName, FieldInvertState state)
Implemented asstate.getBoost() * lengthNorm(fieldName, numTokens)
where numTokens does not count overlap tokens if discountOverlaps is true by default or true for this specific field. -
Uses of FieldInvertState in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type FieldInvertState Modifier and Type Method Description float
DefaultSimilarity. computeNorm(String field, FieldInvertState state)
Implemented asstate.getBoost()*lengthNorm(numTerms)
, wherenumTerms
isgetLength()
ifDefaultSimilarity.setDiscountOverlaps(boolean)
is false, else it'sgetLength()
-getNumOverlap()
.abstract float
Similarity. computeNorm(String field, FieldInvertState state)
Computes the normalization value for a field, given the accumulated state of term processing for this field (seeFieldInvertState
).float
SimilarityDelegator. computeNorm(String fieldName, FieldInvertState state)
Deprecated.
-