This commit is contained in:
Shinsuke Sugaya 2014-10-29 23:05:44 +09:00
parent 0a33fee7cf
commit af9f295449

View file

@ -279,7 +279,7 @@ public class SearchListAction implements Serializable {
try {
solrGroup.deleteByQuery(fieldHelper.docIdField
+ ":" + docId);
solrGroup.optimize();
solrGroup.commit(true, true, false, true);
if (logger.isInfoEnabled()) {
logger.info("[EXEC TIME] index cleanup time: "
+ (System.currentTimeMillis() - time)