SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from  a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally,  if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the  connection will not be closed.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492537 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5042: Refuse to convert if the length is negative.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492543 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492693 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5038: Refactor CompoundFile settings in MergePolicy and IndexWriterConfig

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492701 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5038: Fix test, useCompoundFile doesn't exists anymore

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492770 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4925 Collection create throws NPE when 'numShards' param is missing

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492808 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5038: Fix test to reliably work with all codecs / posting formats

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