Class LineFileDocs
Minimal port of benchmark's LneDocSource + DocMaker, so tests can enum docs from a line file created by benchmark's WriteLineDoc task
Inheritance
System.Object
LineFileDocs
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class LineFileDocs : IDisposable
Constructors
Name | Description |
---|---|
LineFileDocs(Random) | |
LineFileDocs(Random, Boolean) | |
LineFileDocs(Random, String, Boolean) | If forever is true, we rewind the file at EOF (repeat the docs over and over) |
Methods
Name | Description |
---|---|
Dispose() | |
NextDoc() | Note: Document instance is re-used per-thread |
Reset(Random) |