| От | Florian Weimer |
|---|---|
| Тема | Re: Index to support LIKE '%suffix' queries |
| Дата | |
| Msg-id | 877j7jfhqs.fsf@mid.deneb.enyo.de обсуждение исходный текст |
| Ответ на | Re: Index to support LIKE '%suffix' queries (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Index to support LIKE '%suffix' queries
|
| Список | pgsql-sql |
* Tom Lane: > Florian Weimer <fw@deneb.enyo.de> writes: >> Is it possible to create an index to support queries of the form >> "column LIKE '%suffix'" (similar to an ordinary index for LIKE >> 'prefix%', which I also need)? > > Sounds like what you *really* need is full-text search, not half > measures ... have you looked at tsearch2? Uh-oh, the table in question has got 50+ million rows (and is still growing). Each "document" contains about three words. Do you think tsearch2 could deal with that?
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера