Re: n-gram search function - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: n-gram search function
Date
Msg-id Pine.LNX.4.64.0702171016430.400@sn.sai.msu.ru
Whole thread Raw
In response to n-gram search function  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: n-gram search function  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Re: n-gram search function  (Tatsuo Ishii <ishii@postgresql.org>)
Re: n-gram search function  ("Guillaume Smet" <guillaume.smet@gmail.com>)
List pgsql-hackers
3-gram is implemented as a contrib/pg_trgm. It currently uses GiST index,
but may be enhanced with the GiN.

Oleg

On Sat, 17 Feb 2007, Tatsuo Ishii wrote:

> Hi,
>
> Is anybody working on implementing n-gram search functionality for
> text type data? tsearch2 is great for long text but it's not
> appropreate for short (10-100 bytes) text data. What I want to achieve
> is a fast partial match search using indexes, i.e. foo ~ 'bar' or foo
> LIKE '%bar%' type matching.
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: RFC: Temporal Extensions for PostgreSQL
Next
From: Hannu Krosing
Date:
Subject: Re: RFC: Temporal Extensions for PostgreSQL