DocIdStream

abstract class DocIdStream

A stream of doc IDs. Most methods on DocIdStreams are terminal, meaning that the [ ] may not be further used.

See also

Functions

Link copied to clipboard
open fun count(): Int

Count the number of entries in this stream. This is a terminal operation.

Link copied to clipboard
abstract fun forEach(consumer: CheckedIntConsumer<IOException>)

Iterate over doc IDs contained in this stream in order, calling the given [ ] on them. This is a terminal operation.