Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
float |
DefaultSimilarity.computeNorm(java.lang.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() . |
float |
SimilarityDelegator.computeNorm(java.lang.String fieldName,
FieldInvertState state) |
float |
Similarity.computeNorm(java.lang.String field,
FieldInvertState state)
Compute the normalization value for a field, given the accumulated
state of term processing for this field (see
FieldInvertState ). |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.