
RegexpQuery
- Namespace
- Rowles.LeanCorpus.Search.Queries
- Assembly
- Rowles.LeanCorpus.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
- Implements
- Inherited Members
- Extension Methods
RegexpQuery(string, string, RegexOptions)
Initialises a new RegexpQuery for the given field and pattern.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
Pattern
Gets the regular expression pattern applied to bare term text.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.