docID

open override fun docID(): Int

Returns the following:

  • -1 if .nextDoc or .advance were not called yet.

  • .NO_MORE_DOCS if the iterator has exhausted.

  • Otherwise it should return the doc ID it is currently on.

Since

2.9