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