pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A J <s5aly@yahoo.com>
To: PG Admin <pgsql-admin@postgresql.org>
Subject: Partial substrings in FTS
Date: Mon, 23 Apr 2012 10:10:10 -0700 (PDT)
Message-ID: <1335201010.30117.YahooMailNeo@web161501.mail.bf1.yahoo.com> (raw)

In FTS, how do I search for partial substrings that don't form a English word.
Example, in the text: 'one hundred thirty four'  I want to find the records based on 'hun'

SELECT to_tsvector('one hundred thirty four') @@ to_tsquery('hun');
does not return anything.

Thanks.


view thread (3+ messages)  latest in thread

Message-ID: <1335201010.30117.YahooMailNeo@web161501.mail.bf1.yahoo.com>
Permalink:  ../1335201010.30117.YahooMailNeo@web161501.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1335201010.30117.YahooMailNeo@web161501.mail.bf1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: s5aly@yahoo.com
  Subject: Re: Partial substrings in FTS
  In-Reply-To: <1335201010.30117.YahooMailNeo@web161501.mail.bf1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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