Remove trailing doc_freqs EOF check in create_bitset_for_automaton

This commit is contained in:
Pascal Seitz
2026-11-24 16:31:36 +01:00
committed by PSeitz
parent ac7bafc11e
commit d8c8eec0d8
-3
View File
@@ -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)
}