You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shyam (JIRA)" <ji...@apache.org> on 2016/03/30 05:02:25 UTC
[jira] [Commented] (LUCENE-2987) QueryParser throwing null pointer
exception if input is invalid
[ https://issues.apache.org/jira/browse/LUCENE-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217305#comment-15217305 ]
Shyam commented on LUCENE-2987:
-------------------------------
do we still want to pursue this?
> QueryParser throwing null pointer exception if input is invalid
> ---------------------------------------------------------------
>
> Key: LUCENE-2987
> URL: https://issues.apache.org/jira/browse/LUCENE-2987
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/queryparser
> Affects Versions: 3.0.2
> Reporter: Ramesh
> Labels: newdev
> Attachments: LUCENE-2987.patch
>
>
> I was using org.apache.lucene.queryParser.QueryParser for parsing the input.
> My input:
> Input query string: "category: (4 or 6 or 8)"
> Analyzer: StandardAnalyzer
> QueryParser's parse() method is resulting in Null Pointer Exception.
> If i give input query string as "category: (4 OR 6 OR 8)" which is uppercase 'OR', it works fine and i get the desired results.
> I'm seeing the problem only with lower case 'or'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org