Re: Similarity search for sentences

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Similarity search for sentences
Дата
Msg-id 1386277456.83303.YahooMailNeo@web162903.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Similarity search for sentences  ("Janek Sendrowski" <janek12@web.de>)
Ответы Re: Similarity search for sentences
Список pgsql-general
Janek Sendrowski <janek12@web.de> wrote:

> I already had a try with gist/gin-index-based trigramm search
> (pg_trgm extension), fulltextsearch (tsearch2 extension) and a
> pivot-based indexing (Fixed Query Array), but it's all to slow or
> not suitable.

When you tried tsearch2, did you use a trigger to store the
tsvector, or did you use a functional index?  I found the former to
be a couple orders of magnitude faster with an index on court
document text.  Likewise, the trigram searches I used in production
had wildly different performance depending on the similarity
threshold or the LIMIT for KNN searches.  You may want to get the
most promising technology to run as fast as you can, and then post
to the pgsql-performance list with the information suggested here:

http://wiki.postgresql.org/wiki/SlowQueryQuestions

The problems may be solvable, but nobody is likely to know what to
suggest without more to work with.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Fwd: Help!Why CPU Usage and LoadAverage Jump up Suddenly
Следующее
От: Frank Miles
Дата:
Сообщение: cannot delete some records [9.3]