SOLR-6550: backport to 4_10 branch so we can backport SOLR-6511

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1630164 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6511: backport to 4.10 branch

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1630196 13f79535-47bb-0310-9956-ffa450edef68
don't allow publishFlushSegment after IW is closed

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1631244 13f79535-47bb-0310-9956-ffa450edef68
add MAGIC header so we will know if Lucene3xRW (from test-framework) ever tries to incorrectly read a non-Lucene3xRW file

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1631340 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6511: fix back compat issue when reading existing data from ZK

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1631447 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6509, SOLR-6486, SOLR-6549, SOLR-6529: backport recent fixes / improvements to the bin/solr scripts for inclusion in 4.10.2 release.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1631528 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6530: Commits under network partitions can put any node in down state

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1632236 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6530: Protect against NPE when there are no live replicas

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633278 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6573: QueryElevationComponent now works with localParams in the query - backport from trunk

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633446 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap (merged trunk r1632430, r1632829, r1633647)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633651 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6524: Collections left in recovery state after node restart because recovery sleep time increases exponentially between retries

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633658 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6587: Correct exception thrown on bad collection configuration in SolrCloud mode

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633735 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6452: StatsComponent's stat 'missing' will work on fields with docValues=true and indexed=false

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633741 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6019: detect when DocValuesType illegally changes; add -Dtests.asserts=true|false

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633779 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6019: add more safety during DV flush

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633835 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6646: Start script fails to detect solr on non-default port and then after 30s tails wrong log file (merge from trunk)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1633962 13f79535-47bb-0310-9956-ffa450edef68
Remove unused /org.kitesdk/kite-morphlines-hadoop-sequencefile key to please ant validate

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1634014 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6647: Bad error message when missing resource from ZK when parsing Schema (backport)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1634015 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5911: Add freeze() method to MemoryIndex to allow thread-safe searching

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1634034 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6545: Query field list with wild card on dynamic field fails

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