http://localhost:8983/solr/doc1/select?q=text:()&debugQuery=on&defType=lucene

I get this error:
org.apache.solr.search.SyntaxError: Cannot parse 'text:()': Encountered "
")" ") "" at line 1, column 6. Was expecting one of: <NOT> ... "+" ... "-"
... <BAREOPER> ... "(" ... "*" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ...
<WILDTERM> ... <REGEXPTERM> ... "[" ... "{" ... <LPARAMS> ... <NUMBER> ...
<TERM> ... "*" ...

Why does lucene query parser support blank field? I know the work around is
-text:[* TO *]

But I like text:() as it is more logical. Is there any reason?

Thanks
-Shankar

Reply via email to