Fix for DS-2543 cleans the cached OAI responses after doing a full item import with the -c option

This commit is contained in:
cjuergen
2015-04-13 16:43:49 +02:00
parent fb4db3ad44
commit 259e572172

View File

@@ -128,7 +128,7 @@ public class XOAI {
if (clean) {
clearIndex();
System.out.println("Using full import.");
this.indexAll();
result = this.indexAll();
} else {
SolrQuery solrParams = new SolrQuery("*:*")
.addField("item.lastmodified")