|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ScoredDocIDs | |
---|---|
org.apache.lucene.facet.old | Old faceted search API, kept until complements, sampling and partitions are migrated to the new API. |
org.apache.lucene.facet.sampling | Facets sampling. |
Uses of ScoredDocIDs in org.apache.lucene.facet.old |
---|
Classes in org.apache.lucene.facet.old that implement ScoredDocIDs | |
---|---|
class |
MatchingDocsAsScoredDocIDs
Represents FacetsCollector.MatchingDocs as ScoredDocIDs . |
Methods in org.apache.lucene.facet.old that return ScoredDocIDs | |
---|---|
protected ScoredDocIDs |
OldFacetsAccumulator.actualDocsToAccumulate(ScoredDocIDs docids)
Set the actual set of documents over which accumulation should take place. |
static ScoredDocIDs |
ScoredDocIdsUtils.createAllDocsScoredDocIDs(IndexReader reader)
Creates a ScoredDocIDs which returns document IDs all non-deleted doc ids
according to the given reader. |
static ScoredDocIDs |
ScoredDocIdsUtils.createScoredDocIds(DocIdSet docIdSet,
int maxDoc)
Create a ScoredDocIDs out of a given docIdSet and the total number of documents in an index |
static ScoredDocIDs |
ScoredDocIdsUtils.createScoredDocIDsSubset(ScoredDocIDs allDocIds,
int[] sampleSet)
Create a subset of an existing ScoredDocIDs object. |
static ScoredDocIDs |
ScoredDocIdsUtils.getComplementSet(ScoredDocIDs docids,
IndexReader reader)
Create a complement of the input set. |
Methods in org.apache.lucene.facet.old with parameters of type ScoredDocIDs | |
---|---|
List<FacetResult> |
OldFacetsAccumulator.accumulate(ScoredDocIDs docids)
|
List<FacetResult> |
AdaptiveFacetsAccumulator.accumulate(ScoredDocIDs docids)
|
protected ScoredDocIDs |
OldFacetsAccumulator.actualDocsToAccumulate(ScoredDocIDs docids)
Set the actual set of documents over which accumulation should take place. |
static ScoredDocIDs |
ScoredDocIdsUtils.createScoredDocIDsSubset(ScoredDocIDs allDocIds,
int[] sampleSet)
Create a subset of an existing ScoredDocIDs object. |
static ScoredDocIDs |
ScoredDocIdsUtils.getComplementSet(ScoredDocIDs docids,
IndexReader reader)
Create a complement of the input set. |
protected boolean |
OldFacetsAccumulator.shouldComplement(ScoredDocIDs docids)
Check if it is worth to use complements |
Uses of ScoredDocIDs in org.apache.lucene.facet.sampling |
---|
Fields in org.apache.lucene.facet.sampling declared as ScoredDocIDs | |
---|---|
ScoredDocIDs |
Sampler.SampleResult.docids
|
Methods in org.apache.lucene.facet.sampling that return ScoredDocIDs | |
---|---|
protected ScoredDocIDs |
SamplingAccumulator.actualDocsToAccumulate(ScoredDocIDs docids)
|
Methods in org.apache.lucene.facet.sampling with parameters of type ScoredDocIDs | |
---|---|
List<FacetResult> |
SamplingAccumulator.accumulate(ScoredDocIDs docids)
|
List<FacetResult> |
SamplingWrapper.accumulate(ScoredDocIDs docids)
|
protected ScoredDocIDs |
SamplingAccumulator.actualDocsToAccumulate(ScoredDocIDs docids)
|
protected abstract Sampler.SampleResult |
Sampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize)
Create and return a sample of the input set |
protected Sampler.SampleResult |
RandomSampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize)
|
protected Sampler.SampleResult |
RepeatableSampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize)
|
void |
SampleFixer.fixResult(ScoredDocIDs origDocIds,
FacetResult fres,
double samplingRatio)
Alter the input result, fixing it to account for the sampling. |
protected void |
SampleFixer.fixResultNode(FacetResultNode facetResNode,
ScoredDocIDs docIds,
double samplingRatio)
Fix result node count, and, recursively, fix all its children |
Sampler.SampleResult |
Sampler.getSampleSet(ScoredDocIDs docids)
Compute a sample set out of the input set, based on the SamplingParams.getSampleRatio()
in effect. |
boolean |
Sampler.shouldSample(ScoredDocIDs docIds)
Check if this sampler would complement for the input docIds |
void |
TakmiSampleFixer.singleNodeFix(FacetResultNode facetResNode,
ScoredDocIDs docIds,
double samplingRatio)
|
protected abstract void |
SampleFixer.singleNodeFix(FacetResultNode facetResNode,
ScoredDocIDs docIds,
double samplingRatio)
Fix the given node's value. |
Constructors in org.apache.lucene.facet.sampling with parameters of type ScoredDocIDs | |
---|---|
Sampler.SampleResult(ScoredDocIDs docids,
double actualSampleRatio)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |