A match query with operator "and" involving a decompounded word (e.g. "viel kunststoff") was interpreted as "+viel +(kunst stoff)". This is most likely not the desired result, as "kunst" and "stoff" are not synonyms but both have to occur. This commit changes this behavior to be "+viel +kunst +stoff".
This solves issue #11.
This doesn't changes the behavior for only_subwords: false because the use case for that (and therefore the desired behavior) is unclear to me.
A match query with operator "and" involving a decompounded word (e.g. "viel kunststoff") was interpreted as "+viel +(kunst stoff)". This is most likely not the desired result, as "kunst" and "stoff" are not synonyms but both have to occur. This commit changes this behavior to be "+viel +kunst +stoff".
This solves issue #11.
This doesn't changes the behavior for
only_subwords: false
because the use case for that (and therefore the desired behavior) is unclear to me.