mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
cache context's exact words
This commit is contained in:
@ -118,7 +118,7 @@ impl<'a> Search<'a> {
|
||||
let before = Instant::now();
|
||||
let (query_tree, primitive_query, matching_words) = match self.query.as_ref() {
|
||||
Some(query) => {
|
||||
let mut builder = QueryTreeBuilder::new(self.rtxn, self.index);
|
||||
let mut builder = QueryTreeBuilder::new(self.rtxn, self.index)?;
|
||||
builder.optional_words(self.optional_words);
|
||||
|
||||
builder.authorize_typos(self.is_typo_authorized()?);
|
||||
|
Reference in New Issue
Block a user