text: 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;}}