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

Packages that use SpanQuery
org.apache.lucene.search.spans The calculus of spans. 
 

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.
 

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.
 



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