
QueryBuilder
- Namespace
- Rowles.LeanCorpus.Search.Parsing
- Assembly
- Rowles.LeanCorpus.dll
Compile-time-safe fluent builder for constructing query trees.
public static class QueryBuilder
- Inheritance
-
QueryBuilder
BinaryPointInSet(string, params byte[][])
Creates a BinaryPointInSetQuery.
BinaryRange(string, ReadOnlyMemory<byte>?, ReadOnlyMemory<byte>?, bool, bool)
Creates a BinaryRangeQuery.
Bool(Action<BooleanQueryBuilder>)
Starts building a BooleanQuery using a fluent callback.
ConstantScore(Query, float)
Creates a ConstantScoreQuery.
DisMax(float, params Query[])
Starts building a DisjunctionMaxQuery.
Fuzzy(string, string, int)
Creates a FuzzyQuery.
InetAddressPointInSet(string, params IPAddress[])
Creates an InetAddressPointInSetQuery.
InetAddressRange(string, IPAddress, IPAddress, bool, bool)
Creates an InetAddressRangeQuery.
Int32PointInSet(string, params int[])
Creates an Int32PointInSetQuery.
Int32Range(string, int, int, bool, bool)
Creates an Int32RangeQuery.
Int64Range(string, long, long, bool, bool)
Creates an Int64RangeQuery.
Phrase(string, int, params string[])
Creates a PhraseQuery with the given slop.
Phrase(string, params string[])
Creates a PhraseQuery.
Phrase(string, string[], int[], int)
Creates a PhraseQuery with explicit term positions.
Prefix(string, string)
Creates a PrefixQuery.
Range(string, double, double, bool, bool)
Creates a RangeQuery.
Regexp(string, string)
Creates a RegexpQuery.
SinglePointInSet(string, params float[])
Creates a SinglePointInSetQuery.
SingleRange(string, float, float, bool, bool)
Creates a SingleRangeQuery.
Synonym(string, params string[])
Creates a SynonymQuery.
Term(string, string)
Creates a TermQuery.
TermRange(string, string?, string?, bool, bool)
Creates a TermRangeQuery.
Vector(string, float[], int)
Creates a VectorQuery.
Wildcard(string, string)
Creates a WildcardQuery.