Re: Simplifying Text Search
От | Aidan Van Dyk |
---|---|
Тема | Re: Simplifying Text Search |
Дата | |
Msg-id | 20071112204418.GI10585@yugib.highrise.ca обсуждение исходный текст |
Ответ на | Re: Simplifying Text Search (Heikki Linnakangas <heikki@enterprisedb.com>) |
Ответы |
Re: Simplifying Text Search
|
Список | pgsql-hackers |
* Heikki Linnakangas <heikki@enterprisedb.com> [071112 15:18]: > Simon Riggs wrote: > >Right now, Full Text Search SQL looks like complete gibberish and it > >dissuades many people from using what is an awesome set of features. I > >just want to add a little sugar to help people get started. > Granted, @@ is a bit awkward until you get used to it. "x LIKE y" would > read out better, but unfortunately that's already taken ;-). Can LIKE be easily overloaded in the parser? So:text LIKE text works in it's current form, andtsvector LIKE tsquery also works like the @@? Or have I gotten all the ts* types all mixed up again... But it doesn't buy anything except avoiding the "@@" that people seem to not grok easily, and it might actually cause more grief, because of people confusing the 2 forms of LIKE. a. -- Aidan Van Dyk Create like a god, aidan@highrise.ca command like a king, http://www.highrise.ca/ work like a slave.
В списке pgsql-hackers по дате отправления: