Table of Contents

Public classStatic QueryBuilder

Namespace
Rowles.LeanLucene.Search.Parsing
Assembly
Rowles.LeanLucene.dll

Compile-time-safe fluent builder for constructing query trees.

public static class QueryBuilder
QueryBuilder

Public method Bool(Action<BooleanQueryBuilder>)

Starts building a BooleanQuery using a fluent callback.

Public method ConstantScore(Query, float)

Creates a ConstantScoreQuery.

Public method DisMax(float, params Query[])

Starts building a DisjunctionMaxQuery.

Public method Fuzzy(string, string, int)

Creates a FuzzyQuery.

Public method Phrase(string, int, params string[])

Creates a PhraseQuery with the given slop.

Public method Phrase(string, params string[])

Creates a PhraseQuery.

Public method Prefix(string, string)

Creates a PrefixQuery.

Public method Range(string, double, double)

Creates a RangeQuery.

Public method Regexp(string, string)

Creates a RegexpQuery.

Public method Term(string, string)

Creates a TermQuery.

Public method TermRange(string, string?, string?, bool, bool)

Creates a TermRangeQuery.

Public method Vector(string, float[], int)

Creates a VectorQuery.

Public method Wildcard(string, string)

Creates a WildcardQuery.