# Uses of Package
org.apache.lucene.queryparser.surround.query

- Packages that use org.apache.lucene.queryparser.surround.query
  Package | Description
  --- | ---
  org.apache.lucene.queryparser.surround.parser | This package contains the QueryParser.jj source file for the Surround parser.
  org.apache.lucene.queryparser.surround.query | This package contains SrndQuery and its subclasses.

- Classes in org.apache.lucene.queryparser.surround.query used by org.apache.lucene.queryparser.surround.parser
  Class | Description
  --- | ---
  DistanceQuery | Factory for NEAR queries
  SrndQuery | Lowest level base class for surround queries

- Classes in org.apache.lucene.queryparser.surround.query used by org.apache.lucene.queryparser.surround.query
  Class | Description
  --- | ---
  BasicQueryFactory | Factory for creating basic term queries
  ComposedQuery | Base class for composite queries (such as AND/OR/NOT)
  DistanceSubQuery | Interface for queries that can be nested as subqueries into a span near.
  SimpleTerm | Base class for queries that expand to sets of simple terms.
  SimpleTerm.MatchingTermVisitor | Callback to visit each matching term during "rewrite" in `SimpleTerm.MatchingTermVisitor.visitMatchingTerm(Term)`
  SpanNearClauseFactory | Factory for `SpanOrQuery`
  SrndQuery | Lowest level base class for surround queries
  TooManyBasicQueries | Exception thrown when `BasicQueryFactory` would exceed the limit of query clauses.