Skip to main content

SearchPredicate

Type Alias SearchPredicate 

Source
pub type SearchPredicate<'a> = Box<dyn Fn(&u32) -> bool + Send + Sync + 'a>;
Expand description

Owned closure used to filter vector IDs during disk search.

The &u32 argument is the disk-side internal/external ID (they coincide on the disk path by construction).

Aliased Typeยง

pub struct SearchPredicate<'a>(/* private fields */);