hi,

I am having queries:
+a b
a b

I always wondered why the + operator did not work. Looking at the http://localhost:8983/solr/admin/analysis.jsp analysis trace the query analzyer indeed is removing the + through the WordDelemiterFilterFactory. So I removed this filter (btw: why is this the default setting, which I think is a bit dangerous because the special + - operators are thus removed).

Still '+a b' matches documents which have no 'a' inside the field. Now I guess solr is handling the '+' as a normal match character and not as an lucene (required) operator at all? Is this correct. If so, why is this lucene operator overridden? Maybe I need to escape the + for solr, so it treats it as an operator?

thanks.

--
manuel aldana
ald...@gmx.de
software-engineering blog: http://www.aldana-online.de

Reply via email to