| Package | Description |
|---|---|
| org.apache.lucene.search |
Code to search indices.
|
| Modifier and Type | Method and Description |
|---|---|
float |
SimilarityDelegator.computeNorm(String fieldName,
FieldInvertState state)
Deprecated.
|
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 |
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(). |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.