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 DistanceSubQueryInterface for queries that can be nested as subqueries into a span near. SimpleTerm.MatchingTermVisitorCallback to visit each matching term during "rewrite" in
Class Summary Class Description AndQueryFactory for conjunctions BasicQueryFactoryFactory for creating basic term queries ComposedQueryBase class for composite queries (such as AND/OR/NOT) DistanceQueryFactory for NEAR queries FieldsQueryForms an OR query of the provided query across multiple fields. NotQueryFactory for prohibited clauses OrQueryFactory for disjunctions SimpleTermBase class for queries that expand to sets of simple terms. SpanNearClauseFactoryFactory for
SrndPrefixQueryQuery that matches String prefixes SrndQueryLowest level base class for surround queries SrndTermQuerySimple single-term clause SrndTruncQueryQuery that matches wildcards
Exception Summary Exception Description TooManyBasicQueriesException thrown when
BasicQueryFactorywould exceed the limit of query clauses.