Пример #1
0
        public static ISkipList AsSkipList(this IPostingList list)
        {
            var native = list as ISkipList;

            if (native != null)
            {
                return(native);
            }

            return(new BasicSkipList(list));
        }
Пример #2
0
 public TermQuery(IPostingList postings)
 {
     this.postings      = postings;
     this.matchIterator = new MatchIterator(postings.GetEnumerator());
     this.consumed      = false;
 }
Пример #3
0
 public static ISearchQuery TermQuery(IPostingList postings)
 {
     return(new TermQuery(postings));
 }
Пример #4
0
 public BasicSkipList(IPostingList list)
 {
     this.list = list;
 }