public static ISkipList AsSkipList(this IPostingList list) { var native = list as ISkipList; if (native != null) { return(native); } return(new BasicSkipList(list)); }
public TermQuery(IPostingList postings) { this.postings = postings; this.matchIterator = new MatchIterator(postings.GetEnumerator()); this.consumed = false; }
public static ISearchQuery TermQuery(IPostingList postings) { return(new TermQuery(postings)); }
public BasicSkipList(IPostingList list) { this.list = list; }