brianchandotcom/liferay-portal — pull request #11581 by mikakoivisto (2013-06-05 18:08:46+00:00)
Title: LPS-35742 Allow delete portal instance

The previous commit broke lucene tests because I closed and deleted the index in wrong order. Also I failed to remove the IndexAccessor from the list. This one shouldn't break the tests and I also separated the close to shutdown so that if someone just want's to clean the index they can do it by deleting it.