Re: [HACKERS] Poorly designed tsearch NOTICEs

2007-11-27 Thread Robert Treat
On Tuesday 27 November 2007 19:03, Tom Lane wrote: > Last month I complained: > > regression=# SELECT plainto_tsquery('the any'); > > NOTICE: query contains only stopword(s) or doesn't contain lexeme(s), > > ignored plainto_tsquery > > - > > > > (1 row) > > > > regression=# select

Re: [HACKERS] Poorly designed tsearch NOTICEs

2007-11-27 Thread Tom Lane
Last month I complained: > regression=# SELECT plainto_tsquery('the any'); > NOTICE: query contains only stopword(s) or doesn't contain lexeme(s), ignored > plainto_tsquery > - > (1 row) > regression=# select ''::tsquery; > NOTICE: tsearch query doesn't contain lexeme(s): ""

[HACKERS] Poorly designed tsearch NOTICEs

2007-10-20 Thread Tom Lane
regression=# SELECT plainto_tsquery('the any'); NOTICE: query contains only stopword(s) or doesn't contain lexeme(s), ignored plainto_tsquery - (1 row) regression=# select ''::tsquery; NOTICE: tsearch query doesn't contain lexeme(s): "" tsquery - (1 row) IMHO, i