LUCENE-4570: Added ForbiddenAPI checks to the Maven build using the ForbiddenAPI Mojo; also removed redundant maven-surefire-plugin configurations in Solr modules' POMs after putting a shared configuration in the Solr parent POM.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446991 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-4775: speed up test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447034 13f79535-47bb-0310-9956-ffa450edef68
speed up newSearcher a bit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447040 13f79535-47bb-0310-9956-ffa450edef68
tests: fix compare bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447071 13f79535-47bb-0310-9956-ffa450edef68
tests: setup to setUp

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447075 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4417: Reopen the IndexWriter on SolrCore reload.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447084 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.

SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be  propagated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447089 13f79535-47bb-0310-9956-ffa450edef68
tests: split + improve a bit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447098 13f79535-47bb-0310-9956-ffa450edef68
Merged /lucene/dev/trunk:r1446984-1447123

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1447125 13f79535-47bb-0310-9956-ffa450edef68