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
ImpactsDISI — members 5+
C new(in, max_score_cache)
M advance(target) int
M max_score_cache() MaxScoreCache
C min_competitive_score=(min_competitive_score)
M next_doc() int
from DocIdSetIterator
F NO_MORE_DOCS int
M doc_id_run_end() int
C into_bit_set(up_to, bit_set, offset)
from FilterDocIdSetIterator
M cost() long
M doc_id() int

org.apache.lucene.search.ImpactsDISI

class final extends FilterDocIdSetIterator 5 members

DocIdSetIterator that skips non-competitive docs thanks to the indexed impacts. Call #setMinCompetitiveScore(float) in order to give this iterator the ability to skip low-scoring documents.

Constructors

new

new ( DocIdSetIterator in, MaxScoreCache max_score_cache )
Java: <init>(org.apache.lucene.search.DocIdSetIterator in, org.apache.lucene.search.MaxScoreCache maxScoreCache)

Sole constructor.

nametypedescription
inorg.apache.lucene.search.DocIdSetIteratorthe iterator, typically an ImpactsEnum
max_score_cacheorg.apache.lucene.search.MaxScoreCachethe cache of maximum scores, typically computed from the same ImpactsEnum

Instance Methods

advance

int advance ( int target )
Java: advance(int target)

max_score_cache

MaxScoreCache max_score_cache ( )
Java: getMaxScoreCache() · also: get_max_score_cache

Get the MaxScoreCache.

min_competitive_score=

min_competitive_score= ( float min_competitive_score )
Java: setMinCompetitiveScore(float minCompetitiveScore) · also: set_min_competitive_score

Set the minimum competitive score.

next_doc

int next_doc ( )
Java: nextDoc()

Inherited

from DocIdSetIterator

fieldtypenote
NO_MORE_DOCS int When returned by #nextDoc(), #advance(int) and #docID() it means there are no more docs in the iterator.

doc_id_run_end

int doc_id_run_end ( )
Java: docIDRunEnd()

Returns the end of the run of consecutive doc IDs that match this DocIdSetIterator and that contains the current #docID(), that is: one plus the last doc ID of the run.

  1. The returned doc is greater than #docID().
  2. All docs in range [docID(), docIDRunEnd()) match this iterator.
  3. The current position of this iterator is not affected by calling #docIDRunEnd().

Note: It is illegal to call this method when the iterator is exhausted or not positioned.

The default implementation assumes runs of a single doc ID and returns #docID()) + 1.

into_bit_set

into_bit_set ( int up_to, FixedBitSet bit_set, int offset )
Java: intoBitSet(int upTo, org.apache.lucene.util.FixedBitSet bitSet, int offset)

Load doc IDs into a FixedBitSet. This should behave exactly as if implemented as below, which is the default implementation:

for (int doc = docID(); doc < upTo; doc = nextDoc()) {
  bitSet.set(doc - offset);
}

Note: offset must be less than or equal to the current doc ID. Behaviour is undefined if this iterator is unpositioned.

Note: It is important not to clear bits from bitSet that may be already set.

Note: offset may be negative.

from FilterDocIdSetIterator

cost

long cost ( )
Java: cost()

doc_id

int doc_id ( )
Java: docID()
this work for additional information regarding copyright ownership.