Re: access to lexems or access to parsed elements

Поиск
Список
Период
Сортировка
От Massa, Harald Armin
Тема Re: access to lexems or access to parsed elements
Дата
Msg-id CAMSP2L71w=6Zrnse1CL3XCKAi7Xj4NdsjCbSuYcU3G9nPWwiOA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: access to lexems or access to parsed elements  (Sushant Sinha <sushant354@gmail.com>)
Список pgsql-general
Sushant,

Can this fit?

select plainto_tsquery('english', 'the quick brown fox jumped over the
lazy fox');
                  plainto_tsquery
-----------------------------------------------------
 'quick' & 'brown' & 'fox' & 'jump' & 'lazi' & 'fox'

no, this cannot fit. This just adds a third variation, this time a tsquery object. There is no way to access the single words in that ts_query  programmatically (besides the ugly  "cast to text and split at &')

Harald



--
Harald Armin Massa     www.2ndQuadrant.de
PostgreSQL  Training, Services  and Support

2ndQuadrant Deutschland GmbH     
GF: Harald Armin Massa
Amtsgericht Stuttgart, HRB 736399

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

Предыдущее
От: Niyas
Дата:
Сообщение: Re: backup-strategies for large databases
Следующее
От: Condor
Дата:
Сообщение: COPY FROM how long should take ?