## Uses of Class
org.apache.lucene.index.FieldInvertState

- Packages that use FieldInvertState
  Package | Description
  --- | ---
  org.apache.lucene.misc |
  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 and Description
    --- | ---
    `float` | SweetSpotSimilarity.`computeNorm(java.lang.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
    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` | 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`).
    `float` | SimilarityDelegator.`computeNorm(java.lang.String fieldName, FieldInvertState state)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.