Class RandomFacetSource
Simple implementation of a random facet source.
Inherited Members
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class RandomFacetSource : FacetSource
Remarks
Supports the following parameters:
- rand.seeddefines the seed to initialize
with (default: 13). - max.doc.facet.dimsMax number of random dimensions to create (default: 5); actual number of dimensions would be anything between 1 and that number.
- max.doc.facetsmaximal #facets per doc (default: 10). Actual number of facets in a certain doc would be anything between 1 and that number.
- max.facet.depthmaximal #components in a facet (default: 3). Actual number of components in a certain facet would be anything between 1 and that number.
Methods
Name | Description |
---|---|
Configure(FacetsConfig) | |
Dispose(Boolean) | |
GetNextFacets(IList<FacetField>) | |
SetConfig(Config) |