public SeekStatus seekCeil(BytesRef term) {final int ord = findTerm(term);if (ord >= 0) {termOrd = ord;setTerm();return SeekStatus.FOUND;} else if (ord == -terms.length-1) {return SeekStatus.END;} else {termOrd = -ord - 1;setTerm();return SeekStatus.NOT_FOUND;}}

public override SeekStatus SeekCeil(BytesRef term){int ord = FindTerm(term);if (ord >= 0){termOrd = ord;SetTerm();return SeekStatus.FOUND;}else if (ord == -outerInstance.terms.Length - 1){return SeekStatus.END;}else{termOrd = -ord - 1;SetTerm();return SeekStatus.NOT_FOUND;}}
