Table of Contents

Public classSealed 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

Public constructor WildcardQuery(string, string)

Initialises a new WildcardQuery for the given field and pattern.

Properties

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only Pattern

Gets the wildcard pattern where * matches any characters and ? matches a single character.

Methods

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.

Public methodStatic Matches(ReadOnlySpan<char>, ReadOnlySpan<char>)

Tests whether a term matches the wildcard pattern.