Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
9.0, 8.11.1
-
None
Description
select count(*) as QUERY_COUNT from test_index WHERE (name LIKE 'Sample Temp*') AND (deploy_id LIKE 'aws*') HAVING count(*) >= 0
Above query fails with error
"msg":"org.apache.solr.search.SyntaxError: org.apache.lucene.queryparser.classic.ParseException: Cannot parse 'name:\"Sample': Lexical error at line 1, column 13. Encountered: <EOF> after : \"\\\"Sample\"",
The bug is in SolrFilter which translates the query as
({!complexphrase}name:"Sample Temp*" AND deploy_id:aws*)
which fails because of local params parsing I think
If Solr SQL rewrites the query as
({!complexphrase v="name:\"Sample Temp*\"" AND deploy_id:aws*)
it works
Attachments
Issue Links
- links to