fixed setStartDocId() and setEndDocId()