Add an IndexReader whose stored fields will not be returned. This can
accellerate search when stored fields are only needed from a subset of
the IndexReaders.
of documents
of {@link IndexReader#MaxDoc()}
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void Add( IndexReader reader, bool ignoreStoredFields ) |
Visual Basic |
---|
Public Overridable Sub Add ( _ reader As IndexReader, _ ignoreStoredFields As Boolean _ ) |
Visual C++ |
---|
public: virtual void Add( IndexReader^ reader, bool ignoreStoredFields ) |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
[Missing <param name="reader"/> documentation for "M:Lucene.Net.Index.ParallelReader.Add(Lucene.Net.Index.IndexReader,System.Boolean)"]
- ignoreStoredFields
- Type: System..::..Boolean
[Missing <param name="ignoreStoredFields"/> documentation for "M:Lucene.Net.Index.ParallelReader.Add(Lucene.Net.Index.IndexReader,System.Boolean)"]