Sets the collator used to determine index term inclusion in ranges specified either for ConstantScoreRangeQuery or RangeQuery (if SetUseOldRangeQuery(bool) is called with a parameter of true.
WARNING: Setting the rangeCollator to a non-null collator using this method will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined. Depending on the number of index Terms in this Field, the operation could be very slow.