dxl360 commented on pull request #2080:
URL: https://github.com/apache/lucene-solr/pull/2080#issuecomment-732411622


   Had offline discussion with @mikemccand. Maybe we can change the type of 
`invertState.length` from `int` to `long` and keep the current check on field 
length/termFreq accumulation but safely cast the length back to `int` when 
calculating the norms. `totalTermFreq` and `sumTotalTermFreq` are both `long` 
and is not expected to be broken by `invertState.length`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to