LUCENE-5654: Fix close methods that would suppress OOME or similar

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593152 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5653: add missing array resize to multi-valued averaging TermsWithScoreCollector

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593159 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5654: add test for bugs related to OOM-handling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593171 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6035: CloudSolrServer directUpdate routing should use getCoreUrl

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593174 13f79535-47bb-0310-9956-ffa450edef68
Updating CHANGES.txt

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593177 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during indexing

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593226 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5656: don't leak dv producers if one of them throws exception

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593238 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5340 removing a nocommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593308 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
add test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593378 13f79535-47bb-0310-9956-ffa450edef68
live setters will be tested or die

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593383 13f79535-47bb-0310-9956-ffa450edef68
respect closeable

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593385 13f79535-47bb-0310-9956-ffa450edef68
invoke cms parameters randomly

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593393 13f79535-47bb-0310-9956-ffa450edef68
randomize mergepolicy settings on the fly

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593397 13f79535-47bb-0310-9956-ffa450edef68
don't use RIW in this test, it depends on stable merging (and RIW does insane things)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593400 13f79535-47bb-0310-9956-ffa450edef68
fix test to use IW not RIW; add verbosity when LTC changes live IWC settings

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593405 13f79535-47bb-0310-9956-ffa450edef68
don't use RIW in this test, its sensitive to random craziness

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593406 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6043: Add ability to set http headers in solr response

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593423 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6043: Fix changes entry

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

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