示例#1
0
        public override Fields GetTermVectors(int docID)
        {
            Fields f = base.GetTermVectors(docID);

            if (f == null)
            {
                return(null);
            }
            f = new FieldFilterFields(this, f);
            // we need to check for emptyness, so we can return
            // null:
            return(f.GetEnumerator().MoveNext() ? f : null);
        }
示例#2
0
 public FilterIteratorAnonymousInnerClassHelper(FieldFilterFields outerInstance, IEnumerator <string> iterator)
     : base(iterator)
 {
     this.OuterInstance = outerInstance;
 }