Thanks for trying Shawn. Looks like I have to escape the string on my client side (this isn't a clean design and can lead to errors if not all reserved tokens are not escaped).
I hope folks from @dev are reading this and consider adding a parameter to tell Solr the text is raw-text. Steve On Thu, Apr 16, 2015 at 12:18 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 4/16/2015 10:10 AM, Steven White wrote: > > I don't follow what the "f" parameter is. Do you have a link where I can > > read more about it? I found this > > https://wiki.apache.org/solr/HighlightingParameters and > > https://wiki.apache.org/solr/SimpleFacetParameters but i"m not sure > this is > > what you mean (I'm not doing highlighting for faceting). > > It looks like this isn't going to work. I just tried it on my index. > > To see the reasoning behind what I was suggesting, click here: > > https://cwiki.apache.org/confluence/display/solr/Other+Parsers > > And then click on "Term Query Parser" in the third column of the list at > the top of that page. > > The syntax for the localparams on this one is {!term f=field}querytext > ... so I was hoping that f would work as a URL parameter, but from the > test I just did on Solr 4.9.1, that's not the case. > > Thanks, > Shawn > >