Warm the cache - simply calls Get and ignores the return value.
Namespace: Lucene.Net.Util.CacheAssembly: Lucene.Net.Contrib.Core (in Lucene.Net.Contrib.Core.dll) Version: 2.9.2.0 (2.9.2)
Syntax
| C# |
|---|
public override void Warm( IndexReader reader, string key ) |
| Visual Basic |
|---|
Public Overrides Sub Warm ( _ reader As IndexReader, _ key As String _ ) |
| Visual C++ |
|---|
public: virtual void Warm( IndexReader^ reader, String^ key ) override |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
The index reader to warm up.
- key
- Type: System..::..String
The key of the item under the reader.