pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #11660: TSVector not returning partial match on word "out"
2+ messages / 2 participants
[nested] [flat]

* BUG #11660: TSVector not returning partial match on word "out"
@ 2014-10-13 00:47  david.g.levy@gmail.com
  0 siblings, 1 reply; 2+ messages in thread

From: david.g.levy@gmail.com @ 2014-10-13 00:47 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      11660
Logged by:          David Levy
Email address:      david.g.levy@gmail.com
PostgreSQL version: 9.3.5
Operating system:   Windows 8 and RH Linux
Description:        

I'm guessing that "out" is some kind of internal reserved word - I can't
find any documentation on this so submitting a bug until it can be
clarified/specified behavior:

-- First example returns true.
select to_tsvector('monkey outbreak') @@ to_tsquery('mon:*');

-- Second example returns false (bug?)
select to_tsvector('monkey outbreak') @@ to_tsquery('out:*');


-- 
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 #11660: TSVector not returning partial match on word "out"
@ 2014-10-13 14:04  Tom Lane <tgl@sss.pgh.pa.us>
  parent: david.g.levy@gmail.com
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2014-10-13 14:04 UTC (permalink / raw)
  To: david.g.levy@gmail.com; +Cc: pgsql-bugs

david.g.levy@gmail.com writes:
> I'm guessing that "out" is some kind of internal reserved word - I can't
> find any documentation on this so submitting a bug until it can be
> clarified/specified behavior:

No, but it's listed in english.stop.  Feel free to make a custom
stopword list if you don't like that.

regression=# select to_tsquery('mon:*');
 to_tsquery 
------------
 'mon':*
(1 row)

regression=# select to_tsquery('out:*');
NOTICE:  text-search query contains only stop words or doesn't contain lexemes, ignored
 to_tsquery 
------------
 
(1 row)

			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:[~2014-10-13 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13 00:47 BUG #11660: TSVector not returning partial match on word "out" david.g.levy@gmail.com
2014-10-13 14:04 ` 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