Class ContentSource
Represents content from a specified source, such as TREC, Reuters etc. A ContentSource is responsible for creating DocData objects for its documents to be consumed by DocMaker. It also keeps track of various statistics, such as how many documents were generated, size in bytes etc.
For supported configuration parameters see ContentItemsSource.
Inherited Members
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class ContentSource : ContentItemsSource
Methods
Name | Description |
---|---|
GetNextDocData(DocData) | Returns the next DocData from the content source. Implementations must account for multi-threading, as multiple threads can call this method simultaneously. |