## Uses of Class
org.apache.lucene.search.spans.SpanTermQuery

- Packages that use SpanTermQuery
  Package | Description
  --- | ---
  org.apache.lucene.queryParser.surround.query | This package contains SrndQuery and its subclasses.
  org.apache.lucene.search.payloads | The payloads package provides Query mechanisms for finding and using payloads.

- - ### Uses of SpanTermQuery in org.apache.lucene.queryParser.surround.query

    Methods in org.apache.lucene.queryParser.surround.query that return SpanTermQuery
    Modifier and Type | Method and Description
    --- | ---
    `SpanTermQuery` | BasicQueryFactory.`newSpanTermQuery(Term term)`

  - ### Uses of SpanTermQuery in org.apache.lucene.search.payloads

    Subclasses of SpanTermQuery in org.apache.lucene.search.payloads
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BoostingTermQuery` Deprecated. See `PayloadTermQuery`
    `class` | `PayloadTermQuery` This class is very similar to `SpanTermQuery` except that it factors in the value of the payload located at each of the positions where the `Term` occurs.

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