
WildcardQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Matches terms using wildcard patterns (* = any chars, ? = single char).
public sealed class WildcardQuery : Query, IEquatable<Query>
- Inheritance
-
WildcardQuery
- Inherited Members
- Extension Methods
Constructors
WildcardQuery(string, string)
Initialises a new WildcardQuery for the given field and pattern.
Properties
Field
Gets the primary field this query targets.
Pattern
Gets the wildcard pattern where
*matches any characters and?matches a single character.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.
Matches(ReadOnlySpan<char>, ReadOnlySpan<char>)
Tests whether a term matches the wildcard pattern.