public class BlockInverted2DirectIndexBuilder extends Inverted2DirectIndexBuilder
Properties:
basicDirectIndexPostingIteratorClass, destinationStructure, directIndexClass, directIndexInputStreamClass, fieldCount, fieldDirectIndexPostingIteratorClass, index, logger, processTokens, saveTagInformation, sourceStructure| Constructor and Description | 
|---|
| BlockInverted2DirectIndexBuilder(IndexOnDisk i)constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PostingInRun | getPostingReader()returns the SPIR implementation that should be used for reading the postings
 written earlier | 
| protected Posting[] | getPostings(int count)get an array of posting object of the specified size. | 
| static void | main(String[] args)main | 
| protected long | traverseInvertedFile(PostingIndexInputStream iiis,
                    int firstDocid,
                    int countDocuments,
                    Posting[] directPostings)traverse the inverted file, looking for all occurrences of documents in the given range | 
createDirectIndex, scanDocumentIndexForTokenspublic BlockInverted2DirectIndexBuilder(IndexOnDisk i)
i - protected Posting[] getPostings(int count)
getPostings in class Inverted2DirectIndexBuilderprotected PostingInRun getPostingReader()
getPostingReader in class Inverted2DirectIndexBuilderprotected long traverseInvertedFile(PostingIndexInputStream iiis, int firstDocid, int countDocuments, Posting[] directPostings) throws IOException
traverseInvertedFile in class Inverted2DirectIndexBuilderIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow