Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MatchingDocsAsScoredDocIDs
Represents
FacetsCollector.MatchingDocs as ScoredDocIDs . |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
AdaptiveFacetsAccumulator.accumulate(ScoredDocIDs docids) |
List<FacetResult> |
OldFacetsAccumulator.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
|
Modifier and Type | Field and Description |
---|---|
ScoredDocIDs |
Sampler.SampleResult.docids |
Modifier and Type | Method and Description |
---|---|
protected ScoredDocIDs |
SamplingAccumulator.actualDocsToAccumulate(ScoredDocIDs docids) |
Modifier and Type | Method and Description |
---|---|
List<FacetResult> |
SamplingAccumulator.accumulate(ScoredDocIDs docids) |
List<FacetResult> |
SamplingWrapper.accumulate(ScoredDocIDs docids) |
protected ScoredDocIDs |
SamplingAccumulator.actualDocsToAccumulate(ScoredDocIDs docids) |
protected Sampler.SampleResult |
RandomSampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize) |
protected Sampler.SampleResult |
RepeatableSampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize) |
protected abstract Sampler.SampleResult |
Sampler.createSample(ScoredDocIDs docids,
int actualSize,
int sampleSetSize)
Create and return a sample of the input set
|
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.
|
Constructor and Description |
---|
Sampler.SampleResult(ScoredDocIDs docids,
double actualSampleRatio) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.