Thanks Hoss, this is very helpful, okay, dismax is not intended to do
anything with parens for semantics, they're just like any other char,
handled by analyzers.
I think you're right I cut and paste the wrong query before. Just for
the record, on 1.4.1:
qf=text
pf=
q=book (dog +(cat -frog))
: It looks like Dismax query parser can somehow handle parens, used for
: applying, for instance, + or - to a group, distributing it. But I'm not
: sure what effect they have on the overall query.
parens are treated like any regular character -- they have no semantic
meaning.
what may be
It looks like Dismax query parser can somehow handle parens, used for
applying, for instance, + or - to a group, distributing it. But I'm not
sure what effect they have on the overall query.
For instance, if I give dismax this:
book (dog +( cat -frog))
debugQuery shows: