Class PrefixFilter
A Filter that restricts search results to values that have a matching prefix in a given field.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class PrefixFilter : MultiTermQueryWrapperFilter<PrefixQuery>
Constructors
| Improve this Doc View SourcePrefixFilter(Term)
Declaration
public PrefixFilter(Term prefix)
Parameters
Type | Name | Description |
---|---|---|
Term | prefix |
Properties
| Improve this Doc View SourcePrefix
Declaration
public virtual Term Prefix { get; }
Property Value
Type | Description |
---|---|
Term |
Methods
| Improve this Doc View SourceToString()
Prints a user-readable version of this query.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Lucene.Net.Search.MultiTermQueryWrapperFilter<Lucene.Net.Search.PrefixQuery>.ToString()