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).
Inheritance
System.Object
SortableSingleDocSource
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SortableSingleDocSource : SingleDocSource
Methods
|
Improve this Doc
View Source
GetNextDocData(DocData)
Declaration
public override DocData GetNextDocData(DocData docData)
Parameters
Type |
Name |
Description |
DocData |
docData |
|
Returns
Overrides
|
Improve this Doc
View Source
SetConfig(Config)
Declaration
public override void SetConfig(Config config)
Parameters
Type |
Name |
Description |
Config |
config |
|
Overrides