Namespace Lucene.Net.QueryParsers.Surround.Query
This package contains SrndQuery and its subclasses.
The parser in the Lucene.Net.QueryParsers.Surround.Parser namespace normally generates a SrndQuery.
For searching an <xref:Lucene.Net.Search.Query> is provided by the SrndQuery.MakeLuceneQueryField() method. For this, TermQuery, BooleanQuery and SpanQuery are used from Lucene.
Classes
AndQuery
Factory for conjunctions
BasicQueryFactory
Factory for creating basic term queries
ComposedQuery
Base class for composite queries (such as AND/OR/NOT)
DistanceQuery
Factory for NEAR queries
FieldsQuery
Forms an OR query of the provided query across multiple fields.
NotQuery
Factory for prohibited clauses
OrQuery
Factory for disjunctions
SimpleTerm
Base class for queries that expand to sets of simple terms.
SpanNearClauseFactory
SpanNearClauseFactory:
Operations:- create for a field name and an indexreader.
- add a weighted Term - this should add a corresponding SpanTermQuery, or increase the weight of an existing one.
- add a weighted subquery SpanNearQuery
- create a clause for SpanNearQuery from the things added above.
Factory for Lucene.Net.Search.Spans.SpanOrQuery
SrndPrefixQuery
Query that matches string prefixes
SrndQuery
Lowest level base class for surround queries
SrndTermQuery
Simple single-term clause
SrndTruncQuery
Query that matches wildcards
TooManyBasicQueries
Exception thrown when BasicQueryFactory would exceed the limit of query clauses.
Interfaces
IDistanceSubQuery
Interface for queries that can be nested as subqueries into a span near.
SimpleTerm.IMatchingTermVisitor
Callback to visit each matching term during "rewrite" in VisitMatchingTerm(Term)