
DrillDownQuery
- Namespace
- Rowles.LeanCorpus.Search.Queries
- Assembly
- Rowles.LeanCorpus.dll
Filters a base query by facet selections. Selections in different dimensions are combined with AND; selections in the same dimension are combined with OR.
public sealed class DrillDownQuery : Query, IEquatable<Query>
- Inheritance
-
DrillDownQuery
- Implements
- Inherited Members
- Extension Methods
Remarks
Exact selections use normal TermQuery clauses. Path selections use the reversible values emitted by FacetPathIndexer and are therefore queryable through the same postings index as ordinary string fields.
DrillDownQuery(Query, params DrillDownSelection[])
Initialises a drill-down query from a base query and selections.
DrillDownQuery(Query, IEnumerable<DrillDownSelection>)
Initialises a drill-down query from a base query and selections.
BaseQuery
Gets the unfiltered base query.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
Selections
Gets the distinct, canonicalised selections.
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.