| Tanl Linguistic Pipeline |
This class, given a IndexTable::const_iterator, accesses the list of postings for a word. More...
#include <PostingList.h>
Classes | |
| class | const_iterator |
| class | HitsCursor |
| Cursor over hit lists. More... | |
| class | remap_iterator |
| Iterates through postings, but skipping those for documents which have been remapped. More... | |
Public Types | |
| typedef Size | size_type |
| typedef ptrdiff_t | difference_type |
| typedef Posting | value_type |
| typedef value_type * | pointer |
| typedef value_type const * | const_pointer |
| typedef value_type & | reference |
| typedef value_type const & | const_reference |
Public Member Functions | |
| PostingList (byte const *ptr) | |
| Create a PostingList from memory (typically a mmapped file). | |
| PostingList (FileHandle *fh, off64_t offset, size_type size) | |
| Read a PostingList from file: a portion of the file is mmapped and unmapped when the PostingList is destroyed. | |
| PostingList (FileHandle *fh, Lexicon::const_iterator &cit) | |
| void | open (FileHandle *fh, off64_t offset, size_type size) |
| void | open (FileHandle *fh, Lexicon::const_iterator &cit) |
| size_type | size () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| remap_iterator | remap_begin (int displace, Remap &remap) const |
Friends | |
| class | const_iterator |
This class, given a IndexTable::const_iterator, accesses the list of postings for a word.
Once an instance is created, the list can be iterated over.