lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-874) Dismax parser exceptions on trailing OPERATOR
Date Mon, 09 Nov 2009 17:41:32 GMT

     [ https://issues.apache.org/jira/browse/SOLR-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar updated SOLR-874:
---------------------------------------

    Fix Version/s: 1.5

> Dismax parser exceptions on trailing OPERATOR
> ---------------------------------------------
>
>                 Key: SOLR-874
>                 URL: https://issues.apache.org/jira/browse/SOLR-874
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Erik Hatcher
>             Fix For: 1.5
>
>         Attachments: SOLR-874.patch
>
>
> Dismax is supposed to be immune to parse exceptions, but alas it's not:
> http://localhost:8983/solr/select?defType=dismax&qf=name&q=ipod+AND
> kaboom!
> Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'ipod AND': Encountered
"<EOF>" at line 1, column 8.
> Was expecting one of:
>     <NOT> ...
>     "+" ...
>     "-" ...
>     "(" ...
>     "*" ...
>     <QUOTED> ...
>     <TERM> ...
>     <PREFIXTERM> ...
>     <WILDTERM> ...
>     "[" ...
>     "{" ...
>     <NUMBER> ...
>     <TERM> ...
>     "*" ...
>     
> 	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:175)
> 	at org.apache.solr.search.DismaxQParser.parse(DisMaxQParserPlugin.java:138)
> 	at org.apache.solr.search.QParser.getQuery(QParser.java:88)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message