Re: BUG #13478: Simple dictionary does not check for stopwords - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13478: Simple dictionary does not check for stopwords
Date
Msg-id 4587.1435703895@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13478: Simple dictionary does not check for stopwords  (john.grant@suncast.co.uk)
List pgsql-bugs
john.grant@suncast.co.uk writes:
> The following command should return {}:

> SELECT ts_lexize('simple','The');

> Instead it returns {the}

No, that's correct, because that dictionary instance hasn't been
configured with any stopword file.  You need to define a dictionary
that's been connected to the stopword file you want, as in the example in

http://www.postgresql.org/docs/9.4/static/textsearch-dictionaries.html#TEXTSEARCH-SIMPLE-DICTIONARY

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #13479: Doc contains dead link
Next
From: Tom Lane
Date:
Subject: Re: BUG #13479: Doc contains dead link