Section navigation

Public classSealed MultiPhraseQuery

Namespace
Rowles.LeanCorpus.Search.Queries
Assembly
Rowles.LeanCorpus.dll

Matches an ordered phrase where each slot can contain one of several alternative terms.

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

Public constructor MultiPhraseQuery(string, IEnumerable<IEnumerable<string>>, int[]?, int)

Initialises a new MultiPhraseQuery.

Public property Field

Gets the single field this query targets, or an empty value for fieldless and multi-field queries.

Public property Positions

Gets the explicit positions for each slot.

Public property Slop

Gets the allowed phrase slop.

Public property TermGroups

Gets the ordered term alternatives for each phrase slot.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.

Public method Visit(QueryVisitor)

Visits this query and its children.