Joe Calderon wrote:
> how would i go about modifying the dismax parser to treat +/- as regular text?
>   
Would be nice if there was a tiny simple method you could override for
this, but:

You should extend the dismax parser and override addMainQuery

Where it calls SolrPluginUtils.partialEscape, call your own escape
method that does what that one does, but also
escapes + and -.

I think that should work alright.

-- 
- Mark

http://www.lucidimagination.com



Reply via email to