From baeab89de63ab0f74266481954ee3c0825714ff3 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Thu, 27 Nov 2003 16:04:40 +0000 Subject: Fixes about word with several infiniteve --- contrib/tsearch2/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/tsearch2/query.c') diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index 458c55de279..c812f48b0d6 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -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); -- cgit v1.2.3