[
https://issues.apache.org/jira/browse/SOLR-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989744#comment-12989744
]
Erik Hatcher commented on SOLR-874:
-----------------------------------
Johannes - thanks! Test cases look thorough from a glance. Kinda hairy stuff
in there, so give me a few days to scratch my head and review this, but
something worthwhile getting fixed finally.
Many other commenters on this issue - maybe we can get a few more folks to try
this out and confirm it fixes their cases too.
> 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
> Assignee: Erik Hatcher
> Fix For: Next
>
> Attachments: SOLR-874-1.3.patch, SOLR-874-1.4.1.patch, 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]