diff --git a/src/index/inverted_index_reader.rs b/src/index/inverted_index_reader.rs index 0486ed5d7..3f7a0b20d 100644 --- a/src/index/inverted_index_reader.rs +++ b/src/index/inverted_index_reader.rs @@ -651,9 +651,6 @@ impl InvertedIndexReader { .await .map_err(|_| io::Error::other("automaton bitset task panicked"))??; } - if doc_freqs.next().is_some() { - return Err(io::ErrorKind::UnexpectedEof.into()); - } Ok(bitset) }