| От | arnaud.mlist1@free.fr |
|---|---|
| Тема | Re: Lexicographic index ? |
| Дата | |
| Msg-id | 1021548128.3ce39660e5d56@imp.free.fr обсуждение |
| Ответ на | Re: Lexicographic index ? ("Marin Dimitrov" <marin.dimitrov@sirma.bg>) |
| Список | pgsql-general |
> > select * from twords where words||'%' like 'saxophones'; > > > > works but uses a sequential scan on the table... > > > try http://techdocs.postgresql.org/techdocs/fulltextindexing.php Hmmm... I don't think this has any chance to work : what I need is that a part of the work I search (beginning from its start) can be found in the table (such as 'saxophones' would match 'saxophone' or 'sax' in the table, but not 'saxophonesandsomethingbehind', and not that the word can be found in a bigger word in the table (it's already easy to find 'saxophones' from 'saxophone' using like and 'saxophone%' : it uses my index correctly. Or didn't I understand something ? Arnaud
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера