
SynonymQuery
- Namespace
- Rowles.LeanCorpus.Search.Queries
- Assembly
- Rowles.LeanCorpus.dll
Matches any of several terms as one scoring unit.
public sealed class SynonymQuery : Query, IEquatable<Query>
- Inheritance
-
SynonymQuery
- Implements
- Inherited Members
- Extension Methods
SynonymQuery(string, IEnumerable<string>)
Initialises a synonym query for one field.
SynonymQuery(string, params string[])
Initialises a synonym query for one field.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
Terms
Gets the distinct, sorted synonym terms.
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.