
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
PhraseQuery(string, int, params string[])
Initialises a new PhraseQuery with the specified field, slop, and terms.
PhraseQuery(string, params string[])
Initialises a new PhraseQuery with the specified field and terms.
Field
Gets the primary field this query targets.
QualifiedTerms
Gets the qualified term strings ("field\0term") for each phrase term, lazily computed.
Slop
Maximum number of positional gaps allowed between terms. 0 = exact phrase.
Terms
Gets the ordered terms that form the phrase.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.