Class DirContentSource
A ContentSource using the Dir collection for its input. Supports the following configuration parameters (on top of ContentSource):
- work.dirspecifies the working directory. Required if "docs.dir" denotes a relative path (default=work).
- docs.dirspecifies the directory the Dir collection. Can be set to a relative path if "work.dir" is also specified (default=dir-out).
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 DirContentSource : ContentSource, IDisposable
Methods
| Improve this Doc View SourceDispose(Boolean)
Releases resources used by the DirContentSource and if overridden in a derived class, optionally releases unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
|
Overrides
| 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 SourceResetInputs()
Declaration
public override void ResetInputs()
Overrides
| Improve this Doc View SourceSetConfig(Config)
Declaration
public override void SetConfig(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |
Overrides
Implements
System.IDisposable