mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Add comments suggesting performance improvements
This commit is contained in:
@ -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)? {
|
||||
|
Reference in New Issue
Block a user