rename method and variable around the attributes to search on feature

This commit is contained in:
Tamo
2024-05-15 18:04:42 +02:00
parent 5542f1d9f1
commit c78a2fa4f5
2 changed files with 9 additions and 5 deletions

View File

@ -158,7 +158,7 @@ impl<'a> Search<'a> {
let mut ctx = SearchContext::new(self.index, self.rtxn)?;
if let Some(searchable_attributes) = self.searchable_attributes {
ctx.searchable_attributes(searchable_attributes)?;
ctx.attributes_to_search_on(searchable_attributes)?;
}
let universe = filtered_universe(&ctx, &self.filter)?;