mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Add comments suggesting performance improvements
This commit is contained in:
parent
862714a18b
commit
00bad8c716
2 changed files with 38 additions and 1 deletions
|
@ -53,7 +53,7 @@ impl QueryTermDocIdsCache {
|
|||
return Ok(&self.terms[&term_interned]);
|
||||
};
|
||||
let mut docids = RoaringBitmap::new();
|
||||
|
||||
// TODO: use a MultiOps?
|
||||
let term = term_interner.get(term_interned);
|
||||
for word in term.all_single_words_except_prefix_db() {
|
||||
if let Some(word_docids) = db_cache.get_word_docids(index, txn, word_interner, word)? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue