| От | Richard Huxton |
|---|---|
| Тема | Re: LIKE and REGEX optimization |
| Дата | |
| Msg-id | 478DD117.9080102@archonet.com обсуждение исходный текст |
| Ответ на | Re: LIKE and REGEX optimization (Chris Browne <cbbrowne@acm.org>) |
| Список | pgsql-general |
Chris Browne wrote: > The only idea that comes to mind to follow that is to look into > tsearch. On PostgreSQL 8.3, it's built in; on 8.2 and earlier, it's a > "contrib" module. It allows indexing on words inside columns, which > would seem to fit your requirement. You might want to google for "postgresql trigram" too. Some notes at the location below. http://www.sai.msu.su/~megera/oddmuse/index.cgi/ReadmeTrgm It's more of a substring search than tsearch2 is, so might meet your needs better. It's in the "contrib" package / source directory. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера