java.lang.Object
org.apache.lucene.search.DocIdStream
org.apache.lucene.search.BooleanScorer.DocIdStreamView
- Enclosing class:
BooleanScorer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
count()
Count the number of entries in this stream.void
forEach
(CheckedIntConsumer<IOException> consumer) Iterate over doc IDs contained in this stream in order, calling the givenCheckedIntConsumer
on them.
-
Field Details
-
base
int base
-
-
Constructor Details
-
DocIdStreamView
DocIdStreamView()
-
-
Method Details
-
forEach
Description copied from class:DocIdStream
Iterate over doc IDs contained in this stream in order, calling the givenCheckedIntConsumer
on them. This is a terminal operation.- Specified by:
forEach
in classDocIdStream
- Throws:
IOException
-
count
Description copied from class:DocIdStream
Count the number of entries in this stream. This is a terminal operation.- Overrides:
count
in classDocIdStream
- Throws:
IOException
-