Class SearchTravRetLoadFieldSelectorTask
Search and Traverse and Retrieve docs task using a FieldVisitor loading only the requested fields.
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 SearchTravRetLoadFieldSelectorTask : SearchTravTask, IDisposable
  Remarks
Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.
Takes optional param: comma separated list of Fields to load.
Other side effects: counts additional 1 (record) for each traversed hit, and 1 more for each retrieved (non null) document.
Constructors
| Improve this Doc View SourceSearchTravRetLoadFieldSelectorTask(PerfRunData)
Declaration
public SearchTravRetLoadFieldSelectorTask(PerfRunData runData)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfRunData | runData | 
Fields
| Improve this Doc View Sourcem_fieldsToLoad
Declaration
protected ISet<string> m_fieldsToLoad
  Field Value
| Type | Description | 
|---|---|
| System.Collections.Generic.ISet<System.String> | 
Properties
| Improve this Doc View SourceSupportsParams
Declaration
public override bool SupportsParams { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
See Also
| Improve this Doc View SourceWithRetrieve
Declaration
public override bool WithRetrieve { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Methods
| Improve this Doc View SourceRetrieveDoc(IndexReader, Int32)
Declaration
protected override Document RetrieveDoc(IndexReader ir, int id)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IndexReader | ir | |
| System.Int32 | id | 
Returns
| Type | Description | 
|---|---|
| Document | 
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