Re: OR tsquery
От | Oleg Bartunov |
---|---|
Тема | Re: OR tsquery |
Дата | |
Msg-id | Pine.LNX.4.64.1001161909440.16860@sn.sai.msu.ru обсуждение исходный текст |
Ответ на | OR tsquery (Ivan Sergio Borgonovo <mail@webthatworks.it>) |
Ответы |
Re: OR tsquery
|
Список | pgsql-general |
Ivan, did you ever read official documentation ? http://www.postgresql.org/docs/8.4/static/textsearch-controls.html Oleg On Sat, 16 Jan 2010, Ivan Sergio Borgonovo wrote: > to_tsquery and plainto_tsquery produce AND tsquery > 'apple banana orange' -> 'apple' & 'banana' & 'orange' > I can't see anything that will produce OR tsquery. > 'apple banana orange' -> 'apple' | 'banana' | 'orange' > > The only thing I can think of is looping on ts_lexize that looks not > very efficient in plpgsql. > > Am I missing something? > > thanks > > Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83
В списке pgsql-general по дате отправления: