
RegexpQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Matches all documents that contain a term matching the provided regular expression. The regex is applied to the bare term text (not the qualified field\0term form).
public sealed class RegexpQuery : Query, IEquatable<Query>
- Inheritance
-
RegexpQuery
- Inherited Members
- Extension Methods
Constructors
RegexpQuery(string, string, RegexOptions)
Initialises a new RegexpQuery for the given field and pattern.
Properties
Field
Gets the primary field this query targets.
Pattern
Gets the regular expression pattern applied to bare term text.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.