
PrefixQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Matches all terms starting with a given prefix.
public sealed class PrefixQuery : Query, IEquatable<Query>
- Inheritance
-
PrefixQuery
- Inherited Members
- Extension Methods
Constructors
PrefixQuery(string, string)
Initialises a new PrefixQuery for the given field and prefix.
Properties
Field
Gets the primary field this query targets.
Prefix
Gets the prefix that all matched terms must start with.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.