it.unimi.dsi.mg4j.search.score
Interface DelegatingScorer

All Superinterfaces:
FlyweightPrototype<Scorer>, IntIterator, Iterator<Integer>, Scorer
All Known Implementing Classes:
BM25FScorer, BM25Scorer, ClarkeCormackScorer, ConstantScorer, CountScorer, DecreasingDocumentRankScorer, DocumentRankScorer, TfIdfScorer, VignaScorer

public interface DelegatingScorer
extends Scorer

A marker interface for those scorers that delegate all IntIterator's method to the underlying DocumentIterator.

An aggregator can only aggregate scorers of this kind.


Method Summary
 DelegatingScorer copy()
           
 
Methods inherited from interface it.unimi.dsi.mg4j.search.score.Scorer
getWeights, nextDocument, nextInt, score, score, setWeights, usesIntervals, wrap
 
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
skip
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

copy

DelegatingScorer copy()
Specified by:
copy in interface FlyweightPrototype<Scorer>
Specified by:
copy in interface Scorer