Uses of Class

Packages that use FieldInvertState
org.apache.lucene.misc 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

Methods in with parameters of type FieldInvertState
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)
 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-2011 Apache Software Foundation. All Rights Reserved.