Re: OK, does anyone have any better ideas?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OK, does anyone have any better ideas?
Дата
Msg-id 1494.976303283@sss.pgh.pa.us
обсуждение исходный текст
Ответ на OK, does anyone have any better ideas?  (mlw <markw@mohawksoft.com>)
Список pgsql-hackers
mlw <markw@mohawksoft.com> writes:
> I have a working version of a text search engine. I want to make it work
> for Postgres (I will be releasing it GPL). It can literally find the
> occurrence of a string of words within 5 million records in a few
> milliseconds.

Where are the records coming from?  Are they inside the database?
(If not, why do you care about integrating this with Postgres?)

It seems like the right way to integrate this sort of functionality
is to turn it into a kind of index, so that you can do
SELECT * FROM mytable WHERE keyfield ~~~ 'search string';

where ~~~ is the name of some operator that is associated with the
index.  The temporary-table approach you are taking seems inherently
klugy, and would still be awkward even if we had functions returning
recordsets...
        regards, tom lane


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

Предыдущее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: CRC
Следующее
От: Daniele Orlandi
Дата:
Сообщение: Re: AW: beta testing version