On 11/7/2018 5:10 AM, nettadalet wrote:
I get the following error:
org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError:
Cannot parse '((TITLE_Name_t:( la verita))) AND ((TITLE_Artist_t:( ))) AND
(TITLE_Type_e : "Audio")': Encountered " ")" ") "" at line 1, column 53.
I think it is because of the TITLE_Artist_t:( )
It happens even when I change it to TITLE_Artist_t:()
but when I add some string inside the parenthesis (i.e.
TITLE_Artist_t:(abc)), it works fine.
Can anyone show me if and where it is written that an empty value can cause
an org.apache.solr.search.SyntaxError?
I don't know whether that actually is written anywhere. I suspect it's not.
I do think that it is proper for empty parentheses to throw a syntax
error. The text of the exception message is saying that the parser
encountered the ) character at a point when it did not expect to
encounter that character.
Thanks,
Shawn