jruby/docs BETA
Navigation
org.apache.lucene.search 162
C AbstractDocIdSetIterator
C AbstractKnnCollector
C AcceptDocs
C AutomatonQuery
C BlendedTermQuery
C BooleanQuery
I BoostAttribute
C BoostAttributeImpl
C BoostQuery
C BulkScorer
C ByteVectorSimilarityQuery
C CachingCollector
I CheckedIntConsumer
C CollectionTerminatedException
I Collector
I CollectorManager
C CombinedFieldQuery
C ConjunctionUtils
C ConstantScoreQuery
C ConstantScoreScorer
C ConstantScoreScorerSupplier
C ConstantScoreWeight
C ControlledRealTimeReopenThread
C DisiPriorityQueue
C DisiWrapper
C DisjunctionDISIApproximation
C DisjunctionMaxQuery
C DocAndFloatFeatureBuffer
C DocAndScoreAccBuffer
C DocIdSet
C DocIdSetBulkIterator
C DocIdSetIterator
C DocIdStream
C DocValuesRangeIterator
C DocValuesRewriteMethod
C DoubleValues
C DoubleValuesSource
C DoubleValuesSourceRescorer
C ExactPhraseMatcher
C Explanation
C FieldComparator
C FieldComparatorSource
C FieldDoc
C FieldExistsQuery
C FieldValueHitQueue
C FilterCollector
C FilterDocIdSetIterator
C FilterLeafCollector
C FilterMatchesIterator
C FilterScorable
C FilterScorer
C FilterWeight
C FilteredDocIdSetIterator
C FloatVectorSimilarityQuery
C FullPrecisionFloatVectorSimilarityValuesSource
C FuzzyQuery
C FuzzyTermsEnum
C HitQueue
C HnswQueueSaturationCollector
C ImpactsDISI
C IndexOrDocValuesQuery
C IndexSearcher
C IndexSortSortedNumericDocValuesRangeQuery
C IndriAndQuery
C IndriAndScorer
C IndriAndWeight
C IndriDisjunctionScorer
C IndriQuery
C IndriScorer
C KnnByteVectorQuery
I KnnCollector
C KnnFloatVectorQuery
C LRUQueryCache
C LateInteractionFloatValuesSource
C LateInteractionRescorer
I LeafCollector
I LeafFieldComparator
C LiveFieldValues
C LongValues
C LongValuesSource
C MatchAllDocsQuery
C MatchNoDocsQuery
I Matches
I MatchesIterator
C MatchesUtils
I MaxNonCompetitiveBoostAttribute
C MaxNonCompetitiveBoostAttributeImpl
C MaxScoreCache
C MultiCollector
C MultiCollectorManager
C MultiPhraseQuery
C MultiTermQuery
I MultiVectorSimilarity
C Multiset
C NGramPhraseQuery
C NamedMatches
C NumericDocValuesRangeQuery
C PatienceKnnVectorQuery
C PhraseMatcher
C PhraseQuery
C PhraseWeight
C PointInSetQuery
C PointRangeQuery
C PositiveScoresOnlyCollector
C PrefixQuery
E Pruning
C Query
I QueryCache
I QueryCachingPolicy
C QueryRescorer
C QueryVisitor
C ReferenceManager
I RefreshCommitSupplier
C RegexpQuery
C RescoreTopNQuery
C Rescorer
C Scorable
C ScoreCachingWrappingScorer
C ScoreDoc
E ScoreMode
C Scorer
C ScorerSupplier
C ScoringRewrite
C SearcherFactory
C SearcherLifetimeManager
C SearcherManager
C SeededKnnVectorQuery
I SegmentCacheable
C SimpleCollector
C SimpleFieldComparator
C SkipBlockRangeIterator
C SloppyPhraseMatcher
C Sort
C SortField
C SortRescorer
C SortedNumericSelector
C SortedNumericSortField
C SortedSetSelector
C SortedSetSortField
C SynonymQuery
C TaskExecutor
C TermInSetQuery
C TermQuery
C TermRangeQuery
C TermScorer
C TimeLimitingKnnCollectorManager
C TopDocs
C TopDocsCollector
C TopFieldCollector
C TopFieldCollectorManager
C TopFieldDocs
C TopKnnCollector
C TopScoreDocCollector
C TopScoreDocCollectorManager
C TopTermsRewrite
C TotalHitCountCollector
C TotalHitCountCollectorManager
C TwoPhaseIterator
C UsageTrackingQueryCachingPolicy
I VectorScorer
C Weight
C WildcardQuery
DocIdStream — members 7
M count() int
M count(up_to) int
C for_each(consumer)
C for_each(up_to, consumer)
M into_array(array) int
M into_array(up_to, array) int
M may_have_remaining() boolean

org.apache.lucene.search.DocIdStream

class abstract 7 members

A stream of doc IDs. Doc IDs may be consumed at most once.

Instance Methods

count

int count ( )
Java: count()

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

count

int count ( int up_to )
Java: count(int upTo)

Count the number of doc IDs in this stream that are below the given upTo. These doc IDs may not be consumed again later.

for_each

for_each ( CheckedIntConsumer<IOException> consumer )
Java: forEach(org.apache.lucene.search.CheckedIntConsumer<java.io.IOException> consumer)

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

for_each

for_each ( int up_to, CheckedIntConsumer<IOException> consumer )
Java: forEach(int upTo, org.apache.lucene.search.CheckedIntConsumer<java.io.IOException> consumer)

Iterate over doc IDs contained in this doc ID stream up to the given upTo exclusive, calling the given CheckedIntConsumer on them. It is not possible to iterate these doc IDs again later on.

into_array

int into_array ( int[] array )
Java: intoArray(int[] array)

Copy some matching doc IDs into the provided array and return the number of copied elements. A return value of 0 indicates that there are no remaining doc IDs. The given array must not be empty.

into_array

int into_array ( int up_to, int[] array )
Java: intoArray(int upTo, int[] array)

Copy some matching doc IDs under upTo (exclusive) into the provided array and return the number of copied elements. A return value of 0 indicates that there are no matching doc IDs under upTo anymore. The given array must not be empty.

may_have_remaining

boolean may_have_remaining ( )
Java: mayHaveRemaining()

Return true if this stream may have remaining doc IDs. This must eventually return false when the stream is exhausted.

this work for additional information regarding copyright ownership.