You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2019/07/18 12:41:00 UTC
[jira] [Resolved] (LUCENE-8918) Catch null terms in PhraseQuery
early
[ https://issues.apache.org/jira/browse/LUCENE-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward resolved LUCENE-8918.
-----------------------------------
Resolution: Fixed
Fix Version/s: 8.3
> 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
> Fix For: 8.3
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org