Class RandomFacetSource
Simple implementation of a random facet source.
Implements
System.IDisposable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class RandomFacetSource : FacetSource, IDisposable
  Remarks
Supports the following parameters:
- rand.seeddefines the seed to initialize System.Random 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
| Improve this Doc View SourceConfigure(FacetsConfig)
Declaration
public override void Configure(FacetsConfig config)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FacetsConfig | config | 
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Overrides
| Improve this Doc View SourceGetNextFacets(IList<FacetField>)
Declaration
public override void GetNextFacets(IList<FacetField> facets)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IList<FacetField> | facets | 
Overrides
| Improve this Doc View SourceSetConfig(Config)
Declaration
public override void SetConfig(Config config)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Config | config | 
Overrides
Implements
      System.IDisposable