LUCENE-6019, LUCENE-6117: remove -Dtests.assert: this is too big a change for a bug-fix release (and it introduced a bug)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1646416 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5209: Don't remove shard when UNLOAD'ing last replica of a shard through CoreAdminHandler
responseHeader.params formatting consistency for potentially multi-valued parameters
SOLR-5500: Fix /admin/mbeans?wt=json output
Support for stageTiming parameter to provide time taken for each stage of the search
Add ClusterPingRequestHandler (to lookup core state from scripts)
Add RepeatingTokenFilter(Factory) classes
lucene-solr: Fixes to build with branch_4x

Differential Revision: https://all.phab.dev.bloomberg.com/D42345
Differential Revision: https://all.phab.dev.bloomberg.com/D46449
Differential Revision: https://all.phab.dev.bloomberg.com/D171172
D49069: lucene-solr: adds BBZKUploader class
D49073: lucene-solr: adds ZkServerManager class
lucene: Enhance xml/CoreParser support

 - Add PhraseQuery support
 - Term support from TermQuery
 - Split up CorePlusExtensionsParser
solr: Add XmlQParserPlugin support
lucene-solr: Add support for Term[s]Freq(Filter|Query)
[for discussion] lucene: remove repeated nl.getLength() calls in ...Builder classes

Summary: BooleanFilterBuilder, BooleanQueryBuilder, DisjunctionMaxQueryBuilder, FuzzyLikeThisQueryBuilder, TermBuilder, BoostedQueryBuilder are the builder classes. This is change is potential follow-on from D85313 findings.

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D85937
SOLR-6067: add buildAndRunCollectorChain method to refactor code in SolrIndexSearcher/Grouping

Reviewers: raiyenga, dcollins, mjustice

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D78182
Differential Revision: https://all.phab.dev.bloomberg.com/D80502
Differential Revision: https://all.phab.dev.bloomberg.com/D81470
solr: Pull in lucene intervals change

This contains the core changes needed for intervals, stripping off any maven build additions
originally at https://github.com/bloomberg/lucene-solr/commit/423ef0a20ef652eccf49148eb30e5a3f201df626
Further fixes to the upstream flaxsearch/lucene-solr-intervals have been folded in as well..
Lucene Intervals: Mark BadApples, Ignore Lucene3x codecs, fix link in JavaDoc
solr: DebugComponent debug.track output tweaks (SimpleOrderedMap instead of NamedList, shardAddress instead of shard, numeric values as such instead of string)

Summary:
For our use only, not for JIRA.

before:

{"responseHeader":{"status":0,"QTime":11},"response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[]},"debug":{"track":{"rid":"...","EXECUTE_QUERY":{"http://url1/|http://url2/":{"QTime":"1","ElapsedTime":"8","RequestPurpose":"GET_TOP_IDS","NumFound":"0","Response":"..."},"http://url3/|http://url4/":{"QTime":"2","ElapsedTime":"8","RequestPurpose":"GET_TOP_IDS","NumFound":"0","Response":"..."}}}}}

after:

{"responseHeader":{"status":0,"QTime":11},"response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[]},"debug":{"track":{"rid":"...","EXECUTE_QUERY":[{"shardAddress":"http://url3","QTime":1,"ElapsedTime":9,"RequestPurpose":"GET_TOP_IDS","NumFound":0,"Response":"..."},{"shardAddress":"http://url2","QTime":0,"ElapsedTime":9,"RequestPurpose":"GET_TOP_IDS","NumFound":0,"Response":"..."}]}}}

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D79578
SOLR-5734 follow-on: make RTimer use System.nanoTime instead of System.currentTimeMillis

Summary: -

Test Plan: -

Reviewers: raiyenga

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D81500
solr: timing-debug to include lucene-search-time (for both ungrouped and grouped searches)

Summary:
Example input/output:

curl "http://localhost:8787/solr/collection1/select?rows=0&wt=json&debug=timing&q=language_id:1"

{"responseHeader":{"status":0,"QTime":69},"response":{"numFound":26,"start":0,"maxScore":0.9354614,"docs":[]},"debug":{"timing":{"time":48.0,"prepare":{"time":0.0,"query":{"time":0.0},"stats":{"time":0.0},"debug":{"time":0.0}},"process":{"time":48.0,"query":{"time":48.0,"LuceneSearchTime":10.0},"stats":{"time":0.0},"debug":{"time":0.0}}}}}

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D81484