public class BlockFieldMemoryPostings extends BlockMemoryPostings
keyBytes, logger, maxSize, numPointers, postings, valueBytes
Constructor and Description |
---|
BlockFieldMemoryPostings() |
Modifier and Type | Method and Description |
---|---|
void |
add(String term,
int doc,
int frequency,
int[] fieldFrequencies,
int[] blockids)
add
|
void |
addTerms(DocumentPostingList _docPostings,
int docid)
Add the terms in a DocumentPostingList to the postings in memory.
|
add
add, finish, finish, getMemoryConsumption, getPointers, getSize
public void addTerms(DocumentPostingList _docPostings, int docid) throws IOException
addTerms
in class BlockMemoryPostings
_docPostings
- BlockDocumentPostingList containing the posting information for one document.docid
- Document id of the indexed documentIOException
- if an I/O error occurs.public void add(String term, int doc, int frequency, int[] fieldFrequencies, int[] blockids) throws IOException
term
- doc
- frequency
- fieldFrequencies
- blockids
- IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow