public class PostingUtil extends Object
| Constructor and Description | 
|---|
| PostingUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static int[][] | getAllPostings(IterablePosting ip)Get an array of all the ids in a given IterablePosting stream, 
 where the length of the stream is known | 
| static int[][] | getAllPostings(IterablePosting ip,
              int numPointers)Get an array of all the ids in a given IterablePosting stream, 
 where the length of the stream is known | 
| static int[][] | getAllPostingsWithFields(IterablePosting ip,
                        int numPointers,
                        int fieldCount)Get an array of all the ids in a given IterablePosting stream, 
 where the length of the stream is known | 
| static int[] | getIds(IterablePosting ip)Get an array of all the ids in a given IterablePosting stream | 
| static int[] | getIds(IterablePosting ip,
      int numPointers)Get an array of all the ids in a given IterablePosting stream, 
 where the length of the stream is known | 
| static int | selectMinimumDocId(IterablePosting[] postingListArray)Returns the minimum docid of the current postings in the array of IterablePostings | 
public static int[] getIds(IterablePosting ip) throws IOException
IOExceptionpublic static int[] getIds(IterablePosting ip, int numPointers) throws IOException
IOExceptionpublic static int[][] getAllPostings(IterablePosting ip, int numPointers) throws IOException
IOExceptionpublic static int[][] getAllPostingsWithFields(IterablePosting ip, int numPointers, int fieldCount) throws IOException
IOExceptionpublic static int[][] getAllPostings(IterablePosting ip) throws IOException
IOExceptionpublic static int selectMinimumDocId(IterablePosting[] postingListArray)
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow