jpountz opened a new pull request, #11792:
URL: https://github.com/apache/lucene/pull/11792

   Introduction of dynamic pruning for string sorts (#11669) introduced a bug 
with string sorts and ghost fields, triggering a `NullPointerException` because 
the code assumes that `LeafReader#terms` is not null if the field is indexed 
according to field infos.
   
   This commit fixes the issue and adds tests for ghost fields across all sort 
types.
   
   Hopefully we can simplify and remove the null check in the future when we 
improve handling of ghost fields (#11393).


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