I'm trying to exclude results based on the documentation about the boolean
NOT symbol, but I keep getting errors.

I've tried:

http://localhost:8983/solr/debt/select?q=clt_ref_no:-”owl-2924-8”

and

http://localhost:8983/solr/debt/select?q=clt_ref_no:NOT”owl-2924-8”

I have tried with and without quotes too.

Am I not able to use the NOT with a textField?

Here are the errors I get from the browser:

"msg":"org.apache.solr.search.SyntaxError: Cannot parse
'clt_ref_no:-”=owl-2924-8”': Encountered \" \"-\" \"- \"\" at line 1,
column 11.\nWas expecting one of:\n    <BAREOPER> ...\n    \"(\" ...\n
   \"*\" ...\n    <QUOTED> ...\n    <TERM> ...\n    <PREFIXTERM> ...\n
   <WILDTERM> ...\n    <REGEXPTERM> ...\n    \"[\" ...\n    \"{\"
...\n    <LPARAMS> ...\n    \"filter(\" ...\n    <NUMBER> ...\n    ",

Thanks,

Rhys

Reply via email to