Exemplo n.º 1
0
 /// <summary> Note that the underlying IndexReader is not closed, if
 /// IndexSearcher was constructed with IndexSearcher(IndexReader r).
 /// If the IndexReader was supplied implicitly by specifying a directory, then
 /// the IndexReader gets closed.
 /// </summary>
 public override void  Close()
 {
     if (closeReader)
     {
         reader.Close();
     }
 }