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