public class ProximityIterablePosting extends ANDIterablePosting
| Modifier and Type | Field and Description | 
|---|---|
| protected int | window | 
currentId, frequency, ips, termCountEOL| Constructor and Description | 
|---|
| ProximityIterablePosting(IterablePosting[] _ips,
                        Pointer[] _p,
                        int window) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | calculateFrequency()returns true if the document matches | 
| static IterablePosting | createProximityPostingList(Pointer[] ps,
                          PostingIndex<Pointer> invIndex,
                          int blockDistance) | 
| static IterablePosting | createProximityPostingList(String[] terms,
                          Lexicon<String> lex,
                          PostingIndex<Pointer> invIndex,
                          int blockDistance) | 
asWritablePosting, close, endOfPostings, getDocumentLength, getFrequency, getId, next, setIdnextpublic ProximityIterablePosting(IterablePosting[] _ips, Pointer[] _p, int window) throws IOException
IOExceptionprotected boolean calculateFrequency()
ANDIterablePostingcalculateFrequency in class ANDIterablePostingpublic static IterablePosting createProximityPostingList(Pointer[] ps, PostingIndex<Pointer> invIndex, int blockDistance) throws IOException
IOExceptionpublic static IterablePosting createProximityPostingList(String[] terms, Lexicon<String> lex, PostingIndex<Pointer> invIndex, int blockDistance) throws IOException
IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow