Commit 32580efa authored by Teodor Sigaev's avatar Teodor Sigaev

Fix for word with several infinitives

parent 3819afa7
......@@ -278,7 +278,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval, int2 we
pushval_asis(state, VAL, prs.words[count].word, prs.words[count].len, weight);
pfree(prs.words[count].word);
if (count)
pushquery(state, OPR, (int4) '|', 0, 0, 0);
pushquery(state, OPR, (int4) '&', 0, 0, 0);
}
pfree(prs.words);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment