
Query
- Namespace
- Rowles.LeanCorpus.Search
- Assembly
- Rowles.LeanCorpus.dll
Base class for all query types.
public abstract class Query : IEquatable<Query>
- Inheritance
-
Query
- Implements
- Derived
- Extension Methods
Boost
Boost factor applied to this query's score. Default 1.0.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
CombineBoost(int)
Helper to combine boost into a hash code.
CreateWeight(IndexSearcher)
Creates a custom weight for this query, or null to use built-in dispatch.
Equals(Query?)
Indicates whether the current object is equal to another object of the same type.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.
Rewrite()
Rewrites this query to an executable query form. Custom query types can override this to lower themselves to built-in queries.
Visit(QueryVisitor)
Visits this query and its children.