[ https://issues.apache.org/jira/browse/LUCENE-9133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069068#comment-17069068 ]
ASF subversion and git services commented on LUCENE-9133: --------------------------------------------------------- Commit 84f6507452b09baed01ea0693567ae9c19d34acf in lucene-solr's branch refs/heads/master from Marvin Justice [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=84f6507 ] LUCENE-9133 Fix for potential NPE in TermFilteredPresearcher#buildQuery > TermFilteredPresearcher NPE issue with empty fields > --------------------------------------------------- > > Key: LUCENE-9133 > URL: https://issues.apache.org/jira/browse/LUCENE-9133 > Project: Lucene - Core > Issue Type: Bug > Reporter: Marvin Justice > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > Encountered a situation where a document contained a field value which > analyzed away to nothing. The result was a NPE in > TermFilteredPresearher#buildQuery. We filter out purely empty fields before > creating the Document forĀ Monitor#match but it's hard to know up front when > a non-empty field will produce zero tokens after analysis. Will follow up > with a PR containing a simple unit test that triggers the NPE along with a > proposed fix. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org