[ 
https://issues.apache.org/jira/browse/LUCENE-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887935#comment-16887935
 ] 

ASF subversion and git services commented on LUCENE-8918:
---------------------------------------------------------

Commit 15b08f9a065cf58ad77c6456b7a469e3b12404b2 in lucene-solr's branch 
refs/heads/master from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=15b08f9 ]

LUCENE-8918: Disallow null terms in PhraseQuery


> Catch null terms in PhraseQuery early
> -------------------------------------
>
>                 Key: LUCENE-8918
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8918
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It's currently possible to build a PhraseQuery with a single null term, which 
> will go undetected until query time, when a NullPointerException gets thrown 
> from deep within the postings format code.  We should catch this at build 
> time instead.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to