Table of Contents

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

Public constructor RegexpQuery(string, string, RegexOptions)

Initialises a new RegexpQuery for the given field and pattern.

Properties

Internal propertyRead-onlyInternal CompiledRegex
Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only Pattern

Gets the regular expression pattern applied to bare term text.

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.