add getMaxOrd, and properly document the difference between it and numOrds
when we fix maxMergeAtOnce, make sure to not set it to 1 as its an illegal value
Add additional query validation to the terms query parser

Fixes #2608
Removed `execution_type` for has_child and has_parent.
Use CacheRecycler when resolving parent docs in TopChildrenQuery.
Made SoftWrapper fields final.
Add proper cleanup to InternalSettingsPerparerTests
Made sure that wrapped child query / parent query gets rewritten only once.
Initial mv sort for longs commit.