Table of Contents

Public classSealed PhraseQuery

Namespace
Rowles.LeanLucene.Search.Queries
Assembly
Rowles.LeanLucene.dll

Exact ordered phrase match using positional data, with optional slop.

public sealed class PhraseQuery : Query, IEquatable<Query>
Inheritance
PhraseQuery
Inherited Members
Extension Methods

Public constructor PhraseQuery(string, int, params string[])

Initialises a new PhraseQuery with the specified field, slop, and terms.

Public constructor PhraseQuery(string, params string[])

Initialises a new PhraseQuery with the specified field and terms.

Public property Field

Gets the primary field this query targets.

Public property QualifiedTerms

Gets the qualified term strings ("field\0term") for each phrase term, lazily computed.

Public property Slop

Maximum number of positional gaps allowed between terms. 0 = exact phrase.

Public property Terms

Gets the ordered terms that form the phrase.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.