コード例 #1
0
 /// <summary> Note that the underlying Monodoc.Lucene.Net.Index.IndexReader is not closed, if
 /// IndexSearcher was constructed with IndexSearcher(Monodoc.Lucene.Net.Index.IndexReader r).
 /// If the Monodoc.Lucene.Net.Index.IndexReader was supplied implicitly by specifying a directory, then
 /// the Monodoc.Lucene.Net.Index.IndexReader gets closed.
 /// </summary>
 public override void Close()
 {
     if (closeReader)
     {
         reader.Close();
     }
 }