Package org.apache.lucene.queryparser.surround.query
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.
-
ClassDescriptionFactory for conjunctionsFactory for creating basic term queriesBase class for composite queries (such as AND/OR/NOT)Factory for NEAR queriesInterface for queries that can be nested as subqueries into a span near.Forms an OR query of the provided query across multiple fields.Factory for prohibited clausesFactory for disjunctionsBase class for queries that expand to sets of simple terms.Callback to visit each matching term during "rewrite" in
SimpleTerm.MatchingTermVisitor.visitMatchingTerm(Term)
Factory forSpanOrQuery
Query that matches String prefixesLowest level base class for surround queriesSimple single-term clauseQuery that matches wildcardsException thrown whenBasicQueryFactory
would exceed the limit of query clauses.