solr: remove deprecated nodeAffinity=(false|true) parameter (in favour of replicaAffinity=node parameter)

Summary: -

Test Plan: -

Reviewers: raiyenga, dcollins

Reviewed By: raiyenga

Differential Revision: https://all.phab.dev.bloomberg.com/D153072
solr: tweak SearchHandler getDefaultComponents initial capacity

Summary: Trivial change but it could help avoid merge conflicts further down the line. No idea were the 8 came from.

Test Plan: -

Reviewers: dcollins, raiyenga

Reviewed By: dcollins

Differential Revision: https://all.phab.dev.bloomberg.com/D154236
solr: cherry-pick SOLR-6159

Summary:
SOLR-6159: A ZooKeeper session expiry during setup can keep LeaderElector from joining elections

https://issues.apache.org/jira/browse/SOLR-6159

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice

Reviewed By: raiyenga

CC: sbower

Differential Revision: https://all.phab.dev.bloomberg.com/D154200
solr: make overseer delays more visible within logs

Summary: -

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice, ksrivisa

Reviewed By: dcollins

Differential Revision: https://all.phab.dev.bloomberg.com/D154964
solr: add CoreAdminHandler trace to assist debugging

Summary: DELETE REPLICA on some machines mysteriously failed to delete the instance directory, adding trace to assist further debugging if/when it happens again.

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice, ksrivisa

Reviewed By: mjustice

Differential Revision: https://all.phab.dev.bloomberg.com/D160052
solr: tweak some thread names

Summary: Append core name to RecoveryThread. Name the onReconnect thread as such, with timestamp suffix for chronological ordering.

Test Plan: -

Reviewers: dcollins, raiyenga, ksrivisa, mjustice

Reviewed By: dcollins

Differential Revision: https://all.phab.dev.bloomberg.com/D169376
bbsolr-4.8.1-news:Using interval query to do span searches

Summary:
NearFirstQuery,NearQuery and ComplexPhraseNearQuery are added to execute span type of queries with interval query implementation
ComplexPhraseNearQuery is preferred over the GenericTextQuery for the span terms in case they result in multiple terms as GenericTextQuery would boil down to PhraseQuery which is not working well with Intervals yet..
Known limitations: 1.Analyser chain is not applied. Even if this is applied MatchAllDocs would not work under Interval as of now.

Test Plan: unit tested. Works fine with prefix,(multi)wildcarded queries. test files are included

Reviewers: mjustice, cpoersch, raiyenga

Reviewed By: mjustice

CC: dcollins

Differential Revision: https://all.phab.dev.bloomberg.com/D166018
solr: tweak Overseer batching, add more timing trace

Summary: D154964 follow-on

Test Plan: -

Reviewers: raiyenga, dcollins, mjustice, ksrivisa

Reviewed By: dcollins

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