
QueryExtensions
- Namespace
- Rowles.LeanLucene.Search.Parsing
- Assembly
- Rowles.LeanLucene.dll
Extension methods for fluent query composition on Query.
public static class QueryExtensions
QueryExtensions
And(Query, Query)
Combines two queries with a MUST boolean clause.
Not(Query, Query)
Excludes results matching the given query.
Or(Query, Query)
Combines two queries with a SHOULD boolean clause.
WithBoost<T>(T, float)
Sets the boost on the query and returns it for chaining.