
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
MultiPhraseQuery(string, IEnumerable<IEnumerable<string>>, int[]?, int)
Initialises a new MultiPhraseQuery.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
Positions
Gets the explicit positions for each slot.
Slop
Gets the allowed phrase slop.
TermGroups
Gets the ordered term alternatives for each phrase slot.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.
Visit(QueryVisitor)
Visits this query and its children.