Example #1
0
 public virtual void  Seek(Term term)
 {
     this.term = term;
     this.base_Renamed = 0;
     this.pointer = 0;
     this.current = null;
     this.tenum = null;
     this.smi = null;
     this.matchingSegmentPos = 0;
 }
Example #2
0
 public virtual void  Seek(TermEnum termEnum)
 {
     Seek(termEnum.Term);
 	var multiTermEnum = termEnum as MultiTermEnum;
 	if (multiTermEnum != null)
 	{
 		tenum = multiTermEnum;
 		if (topReader != tenum.topReader)
 			tenum = null;
 	}
 }
			public virtual void  Seek(TermEnum termEnum)
			{
				Seek(termEnum.Term());
				if (termEnum is MultiTermEnum)
				{
					tenum = (MultiTermEnum) termEnum;
					if (topReader != tenum.topReader)
						tenum = null;
				}
			}