Re: Full text search

Поиск
Список
Период
Сортировка
Искать
От
Jason Earl
Тема
Re: Full text search
Дата
Msg-id
87snbijqe7.fsf@npa01zz001.simplot.com
Ответ на
Full text search (Jocelyn Callier)
Список
Дерево обсуждения
Full text search Jocelyn Callier <callier@vdl2.ca>
Re: Full text search Jason Earl <jason.earl@simplot.com>
Re: Full text search Roberto Mello <rmello@cc.usu.edu>
Re: Full text search Oleg Bartunov <oleg@sai.msu.su>
Re: Full text search "Josh Berkus" <josh@agliodbs.com>

You might want to take a look at 7.2 new tsearch module.  It sounds
like precisely what you are looking for.

http://openfts.sourceforge.net/

It's what the PostgreSQL project is using to index their mailing
lists.  Check out fts.postgresql.org for a nifty demonstration.

Jason

Jocelyn Callier  writes:

> Hi all.
> I'm using Postgres 7.1 to store emails archives. I want to perform a
> full text search in emails' contents. Emails' content can be quite big
> (up to 15000 characters). I've already seen that Regex match function
> '~' is way faster than the classical sql 'LIKE' function.
> 
> Is there another tip to make the search faster ? Something like
> automatic indexation of words when insering the text ? Or, I don't
> know, optimization stuff... ?
> 
> Any help would be appreciate.
> 
> Thanks.
> 
> --------------
> Jocelyn Callier
> callier@vdl2.ca
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

В списке pgsql-sql по дате отправления
От: Tom Lane
Дата:
От: marc@oscar.eng.cv.net (Marc Spitzer)
Дата:
FAQ