Class LuceneFacetSamplingQueryOptions
Options for Lucene Facet Sampling
public class LuceneFacetSamplingQueryOptions
- Inheritance
-
LuceneFacetSamplingQueryOptions
- Inherited Members
Constructors
LuceneFacetSamplingQueryOptions(int)
Constructor
public LuceneFacetSamplingQueryOptions(int sampleSize)
Parameters
sampleSizeintThe preferred sample size. If the number of hits is greater than the size, sampling will be done using a sample ratio of sample size / total hit count.
LuceneFacetSamplingQueryOptions(int, long)
Constructor
public LuceneFacetSamplingQueryOptions(int sampleSize, long seed)
Parameters
sampleSizeintThe preferred sample size. If the number of hits is greater than the size, sampling will be done using a sample ratio of sample size / total hit count.
seedlongThe random seed. If 0 then a seed will be chosen for you.
Properties
SampleSize
The preferred sample size. If the number of hits is greater than the size, sampling will be done using a sample ratio of sample size / total hit count.
public int SampleSize { get; }
Property Value
Seed
The random seed. If 0 then a seed will be chosen for you.
public long Seed { get; }