Package org.apache.lucene.queryparser.surround.query
This package contains SrndQuery and its subclasses.
The parser in the org.apache.lucene.queryparser.surround.parser package normally generates a SrndQuery.
For searching an org.apache.lucene.search.Query is provided by the SrndQuery.makeLuceneQueryField method. For this, TermQuery, BooleanQuery and SpanQuery are used from Lucene.
-
Interface Summary Interface Description DistanceSubQuery Interface for queries that can be nested as subqueries into a span near.SimpleTerm.MatchingTermVisitor Callback to visit each matching term during "rewrite" inSimpleTerm.MatchingTermVisitor.visitMatchingTerm(Term)
-
Class Summary Class Description AndQuery Factory for conjunctionsBasicQueryFactory Factory for creating basic term queriesComposedQuery Base class for composite queries (such as AND/OR/NOT)DistanceQuery Factory for NEAR queriesFieldsQuery Forms an OR query of the provided query across multiple fields.NotQuery Factory for prohibited clausesOrQuery Factory for disjunctionsSimpleTerm Base class for queries that expand to sets of simple terms.SpanNearClauseFactory Factory forSpanOrQuery
SrndPrefixQuery Query that matches String prefixesSrndQuery Lowest level base class for surround queriesSrndTermQuery Simple single-term clauseSrndTruncQuery Query that matches wildcards -
Exception Summary Exception Description TooManyBasicQueries Exception thrown whenBasicQueryFactory
would exceed the limit of query clauses.