Class SortableSingleDocSource
Adds fields appropriate for sorting: country, random_string and sort_field (int). Supports the following parameters:
- sort.rngdefines the range for sort-by-int field (default 20000).
- rand.seeddefines the seed to initialize Random with (default 13).
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 SortableSingleDocSource : SingleDocSource, IDisposable
Methods
| Improve this Doc View SourceGetNextDocData(DocData)
Declaration
public override DocData GetNextDocData(DocData docData)
Parameters
Type | Name | Description |
---|---|---|
DocData | docData |
Returns
Type | Description |
---|---|
DocData |
Overrides
| Improve this Doc View SourceSetConfig(Config)
Declaration
public override void SetConfig(Config config)
Parameters
Type | Name | Description |
---|---|---|
Config | config |
Overrides
Implements
System.IDisposable