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

Packages that use SpanQuery
org.apache.lucene.queryParser.surround.query: This package contains SrndQuery and its subclasses.
org.apache.lucene.search: Code to search indices.
org.apache.lucene.search.payloads: The payloads package provides Query mechanisms for finding and using payloads.
org.apache.lucene.search.regex: Regular expression Query.
org.apache.lucene.search.spans: The calculus of spans.
org.apache.lucene.xmlparser.builders

Uses of SpanQuery in org.apache.lucene.queryParser.surround.query

Methods in org.apache.lucene.queryParser.surround.query that return SpanQuery
`SpanQuery` `SpanNearClauseFactory.makeSpanNearClause()`

Methods in org.apache.lucene.queryParser.surround.query with parameters of type SpanQuery
`protected void` `SpanNearClauseFactory.addSpanQueryWeighted(SpanQuery sq, float weight)`

Uses of SpanQuery in org.apache.lucene.search

Fields in org.apache.lucene.search declared as SpanQuery
`protected SpanQuery` `SpanQueryFilter.query`

Methods in org.apache.lucene.search that return SpanQuery
`SpanQuery` `SpanQueryFilter.getQuery()`

Constructors in org.apache.lucene.search with parameters of type SpanQuery
`SpanQueryFilter(SpanQuery query)` Constructs a filter which only matches documents matching `query`.

Uses of SpanQuery in org.apache.lucene.search.payloads

Subclasses of SpanQuery in org.apache.lucene.search.payloads
`class` `BoostingTermQuery` The BoostingTermQuery is very similar to the `SpanTermQuery` except that it factors in the value of the payload located at each of the positions where the `Term` occurs.

Uses of SpanQuery in org.apache.lucene.search.regex

Subclasses of SpanQuery in org.apache.lucene.search.regex
`class` `SpanRegexQuery` A SpanQuery version of `RegexQuery` allowing regular expression queries to be nested within other SpanQuery subclasses.

Uses of SpanQuery in org.apache.lucene.search.spans

Subclasses of SpanQuery in org.apache.lucene.search.spans
`class` `SpanFirstQuery` Matches spans near the beginning of a field.
`class` `SpanNearQuery` Matches spans which are near one another.
`class` `SpanNotQuery` Removes matches which overlap with another SpanQuery.
`class` `SpanOrQuery` Matches the union of its clauses.
`class` `SpanTermQuery` Matches spans containing a term.

Fields in org.apache.lucene.search.spans declared as SpanQuery
`protected SpanQuery` `SpanWeight.query`

Methods in org.apache.lucene.search.spans that return SpanQuery
`SpanQuery[]` `SpanOrQuery.getClauses()` Return the clauses whose spans are matched.
`SpanQuery[]` `SpanNearQuery.getClauses()` Return the clauses whose spans are matched.
`SpanQuery` `SpanNotQuery.getExclude()` Return the SpanQuery whose matches must not overlap those returned.
`SpanQuery` `SpanNotQuery.getInclude()` Return the SpanQuery whose matches are filtered.
`SpanQuery` `SpanFirstQuery.getMatch()` Return the SpanQuery whose matches are filtered.

Constructors in org.apache.lucene.search.spans with parameters of type SpanQuery
`SpanFirstQuery(SpanQuery match, int end)` Construct a SpanFirstQuery matching spans in `match` whose end position is less than or equal to `end`.
`SpanNearQuery(SpanQuery[] clauses, int slop, boolean inOrder)` Construct a SpanNearQuery.
`SpanNotQuery(SpanQuery include, SpanQuery exclude)` Construct a SpanNotQuery matching spans from `include` which have no overlap with spans from `exclude`.
`SpanOrQuery(SpanQuery[] clauses)` Construct a SpanOrQuery merging the provided clauses.
`SpanWeight(SpanQuery query, Searcher searcher)`

Uses of SpanQuery in org.apache.lucene.xmlparser.builders

Methods in org.apache.lucene.xmlparser.builders that return SpanQuery
`SpanQuery` `SpanQueryBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanNearBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanNotBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanQueryBuilderFactory.getSpanQuery(Element e)`
`SpanQuery` `SpanOrBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanFirstBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanTermBuilder.getSpanQuery(Element e)`
`SpanQuery` `SpanOrTermsBuilder.getSpanQuery(Element e)`

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