Replacement of IndexReader.lastModified(Directory d) in lucene version beyond 4
<p>As IndexReader.lastModified(Directory d) method is deprecated in lucene 4. Can you please what should be used in place of this code.</p>