Thanks Shawn for pointing to the jira issue. I was not sure that if it is an expected behavior or a bug or there could have been a way to get the desired result.
Best, Modassar On Thu, Mar 10, 2016 at 11:32 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 3/9/2016 10:55 PM, Shawn Heisey wrote: > > The ~2 syntax, when not attached to a phrase query (quotes) is the way > > you express a fuzzy query. If it's attached to a query in quotes, then > > it is a proximity query. I'm not sure whether it means something > > different when it's attached to a query clause in parentheses, someone > > with more knowledge will need to comment. > <snip> > > https://issues.apache.org/jira/browse/SOLR-8812 > > After I read SOLR-8812 more closely, it seems that the ~2 syntax with > parentheses is the way that the effective mm value is expressed for a > particular query clause in the parsed query. I've learned something new > today. > > Thanks, > Shawn > >