See: Description
Interface | Description |
---|---|
BlockPosting |
Interface implemented by Posting objects that have position information
recorded.
|
FieldPosting |
Interface implemented by Posting objects that have field information
recorded.
|
IterablePosting |
An interface that allows a list of postings to be iterated over
|
Posting |
This interface represents one posting in a posting list.
|
WritablePosting |
Allow a
Posting to be written to a DataOut |
Class | Description |
---|---|
ANDIterablePosting |
An instance of IterablePostings that works with passed arrays of ids and frequencies.
|
ArrayOfBasicIterablePosting |
An instance of IterablePostings that works with passed arrays of ids and frequencies
|
ArrayOfBlockFieldIterablePosting |
An array structure that golds BlockFieldIterablePostings
|
ArrayOfBlockIterablePosting |
An array structure that golds BlockIterablePostings
|
ArrayOfFieldIterablePosting |
An instance of IterablePostings that works with passed arrays of ids and frequencies
for each field.
|
ArrayOfIdsIterablePosting |
An instance of IterablePostings that works with a passed array of ids
|
BasicPostingImpl |
Implementation of a Posting that is non-iterable.
|
BlockFieldORIterablePosting |
ORIterablePosting implementation that implements FieldPosting and BlockPosting
|
BlockFieldPostingImpl |
A writable block field posting list
|
BlockORIterablePosting |
ORIterablePosting implementation that implements BlockPosting
|
BlockPostingImpl |
BlockPostingImpl class
|
FieldORIterablePosting |
ORIterablePosting implementation that implements FieldPosting
|
FieldPostingImpl |
Implementation of a posting containing fields
|
IterablePostingImpl |
A base implementation of an IterablePosting, that provides
a base implementation of next(int) method.
|
ORIterablePosting |
An IterablePosting that combines more than one IterablePosting into a single IterablePosting.
|
PhraseIterablePosting |
Implementation of an IterablePosting for block indices that returns
only documents that match a multi-term phase.
|
PostingIdComparator |
A comparator object for Posting objects, where they are sorted by id.
|
PostingUtil |
Handy methods for Posting classes, such as obtaining all ids in a
posting list, or selecting the minimum id in an array of posting lists.
|
ProximityIterablePosting |
Implementation of an IterablePosting for block indices that returns
only documents that match phases within a fixed window size.
|
Provides classes representing single postings and atreams of postings in a posting list (e.g. an inverted index or a direct index).
A single posting (e.g. occurrences of a term in document) is represented by a Posting object.
Posting p; System.out.println("Docid "+ p.getId() + " has " + p.getFrequency() + " occurrences");
A stream of postings (e.g. terms in a document or occurrences of a term) are represented by an IterablePosting stream.
IterablePosting ip = //obtain from InvertedIndex; while(ip.next() != IterablePosting.EOL) { System.err.println("Docid "+ ip.getId() + " has " + ip.getFrequency() + " occurrences"); }
More complex posting implementations are supported by other Posting child interfaces:
Terrier 4.0. Copyright © 2004-2014 University of Glasgow