Class NearRealtimeReaderTask
Spawns a BG thread that periodically (defaults to 3.0 seconds, but accepts param in seconds) wakes up and asks IndexWriter for a near real-time reader. Then runs a single query (body: 1) sorted by docdate, and prints time to reopen and time to run the search.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
It's also not generally usable, eg you cannot change which query is executed.
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)
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class NearRealtimeReaderTask : PerfTask, IDisposable
  Constructors
| Improve this Doc View SourceNearRealtimeReaderTask(PerfRunData)
Declaration
public NearRealtimeReaderTask(PerfRunData runData)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfRunData | runData | 
Properties
| Improve this Doc View SourceSupportsParams
Declaration
public override bool SupportsParams { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Overrides
| Improve this Doc View SourceDoLogic()
Declaration
public override int DoLogic()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceSetParams(String)
Declaration
public override void SetParams(string params)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | params | 
Overrides
Implements
      System.IDisposable