tang-hi opened a new pull request, #12258:
URL: https://github.com/apache/lucene/pull/12258

   
   
   ### Description
   This pull request addresses an issue in the StoredFieldsInts.java file, 
where the offset is hardcoded as 0 when data is all equal. Instead, it should 
be set to the value of start. Additionally, as the argument for start is always 
0 when StoredFieldInts#writeInts is called by 
Lucene90CompressingStoredFieldsWriter.java, should we  remove the start 
argument?
   
https://github.com/apache/lucene/blob/3c163745bb07aed51b52878de0666f1405696147/lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/StoredFieldsInts.java#L41
 
   
https://github.com/apache/lucene/blob/3c163745bb07aed51b52878de0666f1405696147/lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/StoredFieldsInts.java#L31
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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