Description
The Weight implementation in PointRangeQuery#createWeight is anonymous class making it difficult to extend or reuse specific logic from the class. Not to mention the class being more ~400 lines of code which makes good case for named class anyways IMO.