public Map<String,String> getDocsChangeDate() throws Exception {
IndexAndTaxonomy indexAndTaxonomy= getNewIndexReader(null);
try {
GeonetworkMultiReader reader = indexAndTaxonomy.indexReader;
int capacity = (int)(reader.maxDoc() / 0.75)+1;
Map<String,String> docs = new HashMap<String,String>(capacity);
for (int i = 0; i < reader.maxDoc(); i++) {
// Commented this out for lucene 4.0 and NRT indexing. It shouldn't be needed I would guess but leave it here
// for a bit longer: Commented out since: Dec 10 2012
// FIXME: strange lucene hack: sometimes it tries to load a deleted document