From: | AI Rumman <rummandba(at)gmail(dot)com> |
---|---|
To: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Full text t_tsquery is giving error |
Date: | 2011-02-10 05:16:18 |
Message-ID: | AANLkTin8AQvgtGD1up_=PK9YMmLYv8NLjFe+de0sjObr@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I am getting the following results:
select * from ts_debug('Rumman (AI)');
alias | description | token | dictionaries | dictionary |
lexemes
-----------+-----------------+--------+--------------------+--------------+----------
asciiword | Word, all ASCII | Rumman | {syn,english_stem} | english_stem |
{rumman}
blank | Space symbols | ( | {} | |
asciiword | Word, all ASCII | AI | {syn,english_stem} | english_stem |
{ai}
blank | Space symbols | ) | {} | |
(4 rows)
But,
select to_tsquery('Rumman (AI)');
ERROR: syntax error in tsquery: "Rumman (AI)"
I don't know why this is happening.
Any idea please.
From | Date | Subject | |
---|---|---|---|
Next Message | Radosław Smogura | 2011-02-10 07:51:36 | Re: XML Encoding problem |
Previous Message | Tom Lane | 2011-02-10 04:37:08 | Re: 9.0.X FOR UPDATE|SHARE on Sub-Query Causes "cannot extract system attribute from virtual tuple" if Sub-Query Returns Records (BUG) |