| From: | Dmitry Ivanov <d(dot)ivanov(at)postgrespro(dot)ru> |
|---|---|
| To: | Aleksandr Parfenov <a(dot)parfenov(at)postgrespro(dot)ru> |
| Cc: | Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: new function for tsquery creartion |
| Date: | 2018-04-03 10:47:14 |
| Message-ID: | 1f33416d7173df5504e84e63680bd27e@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi everyone,
The code in its current state looks messy and way too complicated;
there're lots of interleaving code branches. Thus, I decided to split
gettoken_query() into three independent tokenizers for phrase, web and
original (to_tsquery()) syntaxes. Documentation is included. Any
feedback is very welcome.
--
Dmitry Ivanov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
| Attachment | Content-Type | Size |
|---|---|---|
| websearch_to_tsquery_v6.diff | text/x-diff | 41.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2018-04-03 11:10:55 | Re: [HACKERS] [PATCH] Incremental sort |
| Previous Message | Nikhil Sontakke | 2018-04-03 10:40:43 | Re: [HACKERS] logical decoding of two-phase transactions |