Class FacetSource
Source items for facets.
For supported configuration parameters see ContentItemsSource.Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class FacetSource : ContentItemsSource, IDisposable
Methods
Configure(FacetsConfig)
Source items for facets.
For supported configuration parameters see ContentItemsSource.Declaration
public abstract void Configure(FacetsConfig config)
Parameters
Type | Name | Description |
---|---|---|
FacetsConfig | config |
GetNextFacets(IList<FacetField>)
Fills the next facets content items in the given list. Implementations must account for multi-threading, as multiple threads can call this method simultaneously.
Declaration
public abstract void GetNextFacets(IList<FacetField> facets)
Parameters
Type | Name | Description |
---|---|---|
IList<FacetField> | facets |
ResetInputs()
Resets the input for this content source, so that the test would behave as if it was just started, input-wise.
NOTE: the default implementation resets the number of bytes and items generated since the last reset, so it's important to callbase.ResetInputs()
in case you override this method.
Declaration
public override void ResetInputs()