|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FieldInvertState | |
---|---|
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 | |
---|---|
float |
SweetSpotSimilarity.computeNorm(String fieldName,
FieldInvertState state)
Implemented as state.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 | |
---|---|
float |
DefaultSimilarity.computeNorm(String field,
FieldInvertState state)
Implemented as state.getBoost()*lengthNorm(numTerms) , where
numTerms is getLength() if DefaultSimilarity.setDiscountOverlaps(boolean) is false, else it's getLength() - 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 (see FieldInvertState ). |
float |
SimilarityDelegator.computeNorm(String fieldName,
FieldInvertState state)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |