pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13478: Simple dictionary does not check for stopwords
2+ messages / 2 participants
[nested] [flat]
* BUG #13478: Simple dictionary does not check for stopwords
@ 2015-06-30 11:15 john.grant@suncast.co.uk
0 siblings, 1 reply; 2+ messages in thread
From: john.grant@suncast.co.uk @ 2015-06-30 11:15 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13478
Logged by: John Grant
Email address: john.grant@suncast.co.uk
PostgreSQL version: 9.4.4
Operating system: Ubuntu & Windows
Description:
COMMENT ON TEXT SEARCH DICTIONARY simple IS 'simple dictionary: just lower
case and check for stopword';
The following command should return {}:
SELECT ts_lexize('simple','The');
Instead it returns {the}
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13478: Simple dictionary does not check for stopwords
@ 2015-06-30 22:38 Tom Lane <tgl@sss.pgh.pa.us>
parent: john.grant@suncast.co.uk
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2015-06-30 22:38 UTC (permalink / raw)
To: john.grant@suncast.co.uk; +Cc: 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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-06-30 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 11:15 BUG #13478: Simple dictionary does not check for stopwords john.grant@suncast.co.uk
2015-06-30 22:38 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox