std::unique_ptr< Iterator > iterator(const Token *Tok=nullptr) const
Constructs DocumentIterator over given posting list.
PostingList(llvm::ArrayRef< DocID > Documents)
size_t bytes() const
Returns in-memory size of external storage.
PostingList is the storage of DocIDs which can be inserted to the Query Tree as a leaf by constructin...