A Query that matches documents containing terms with a specified prefix. A PrefixQuery
is built by QueryParser for input like .
This query uses the {@link
MultiTermQuery#CONSTANT_SCORE_AUTO_REWRITE_DEFAULT}
rewrite method.
Namespace: Lucene.Net.SearchCopyC#
app*
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public class PrefixQuery : MultiTermQuery |
Visual Basic |
---|
<SerializableAttribute> _ Public Class PrefixQuery _ Inherits MultiTermQuery |
Visual C++ |
---|
[SerializableAttribute] public ref class PrefixQuery : public MultiTermQuery |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..PrefixQuery
Lucene.Net.Search..::..Query
Lucene.Net.Search..::..MultiTermQuery
Lucene.Net.Search..::..PrefixQuery