The abstract base class for queries.

Instantiable subclasses are:

  • {@link TermQuery}
  • {@link MultiTermQuery}
  • {@link BooleanQuery}
  • {@link WildcardQuery}
  • {@link PhraseQuery}
  • {@link PrefixQuery}
  • {@link MultiPhraseQuery}
  • {@link FuzzyQuery}
  • {@link TermRangeQuery}
  • {@link NumericRangeQuery}
  • {@link Lucene.Net.Search.Spans.SpanQuery}

A parser for queries is contained in:

  • {@link Lucene.Net.QueryParsers.QueryParser QueryParser}

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public abstract class Query : ICloneable
Visual Basic
<SerializableAttribute> _
Public MustInherit Class Query _
	Implements ICloneable
Visual C++
[SerializableAttribute]
public ref class Query abstract : ICloneable

Inheritance Hierarchy

See Also