uk.ac.gla.terrier.structures.indexing.singlepass
Class BlockFieldMemoryPostings
java.lang.Object
uk.ac.gla.terrier.structures.indexing.singlepass.MemoryPostings
uk.ac.gla.terrier.structures.indexing.singlepass.BlockMemoryPostings
uk.ac.gla.terrier.structures.indexing.singlepass.BlockFieldMemoryPostings
public class BlockFieldMemoryPostings
- extends BlockMemoryPostings
Class for handling posting lists containing block and field information in memory while indexing.
- Author:
- Roi Blanco
Method Summary |
void |
add(java.lang.String term,
int doc,
int frequency,
int fieldScore,
int[] blockids)
|
void |
addTerms(DocumentPostingList _docPostings,
int docid)
Add the terms in a DocumentPostingList to the postings in memory. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockFieldMemoryPostings
public BlockFieldMemoryPostings()
addTerms
public void addTerms(DocumentPostingList _docPostings,
int docid)
throws java.io.IOException
- Description copied from class:
BlockMemoryPostings
- Add the terms in a DocumentPostingList to the postings in memory.
- Overrides:
addTerms
in class BlockMemoryPostings
- Parameters:
_docPostings
- BlockDocumentPostingList containing the posting information for one document.docid
- Document id of the indexed document
- Throws:
java.io.IOException
- if an I/O error occurs.
add
public void add(java.lang.String term,
int doc,
int frequency,
int fieldScore,
int[] blockids)
throws java.io.IOException
- Throws:
java.io.IOException
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow