lance_index::scalar::expression

Trait PlannerIndexExt

Source
pub trait PlannerIndexExt {
    // Required method
    fn create_filter_plan(
        &self,
        filter: Expr,
        index_info: &dyn IndexInformationProvider,
        use_scalar_index: bool,
    ) -> Result<FilterPlan>;
}

Required Methods§

Source

fn create_filter_plan( &self, filter: Expr, index_info: &dyn IndexInformationProvider, use_scalar_index: bool, ) -> Result<FilterPlan>

Determine how to apply a provided filter

We parse the filter into a logical expression. We then split the logical expression into a portion that can be satisfied by an index search (of one or more indices) and a refine portion that must be applied after the index search

Implementations on Foreign Types§

Source§

impl PlannerIndexExt for Planner

Source§

fn create_filter_plan( &self, filter: Expr, index_info: &dyn IndexInformationProvider, use_scalar_index: bool, ) -> Result<FilterPlan>

Implementors§