You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/09/20 07:43:09 UTC

[GitHub] [lucene] jpountz opened a new pull request, #11792: Fix handling of ghost fields in string sorts.

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-unsubscribe@lucene.apache.org

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


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


[GitHub] [lucene] jpountz merged pull request #11792: Fix handling of ghost fields in string sorts.

Posted by GitBox <gi...@apache.org>.
jpountz merged PR #11792:
URL: https://github.com/apache/lucene/pull/11792


-- 
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-unsubscribe@lucene.apache.org

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


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