| From: | Dennis Gearon <gearond(at)fireserve(dot)net> |
|---|---|
| To: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
| Cc: | Diogo Biazus <diogo(at)ikono(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: About TSearch2 Performance |
| Date: | 2003-10-24 14:18:35 |
| Message-ID: | 3F9934BB.5070404@fireserve.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Teodor Sigaev wrote:
> First one will be a bit faster
>
> Diogo Biazus wrote:
>
>> Hi,
>>
>> Is there any performance diference between the following SQL commands:
>>
>> SELECT * FROM documents WHERE content_ix @@
>> to_tsquery('word1&word2|word3');
>>
>> SELECT * FROM documents WHERE content_ix @@ to_tsquery('word1') AND
>> content_ix @@ to_tsquery('word2') OR content_ix @@ to_tsquery('word3');
>>
>> I'm having to do this on some complex querys to put LIKEs between
>> some ts_querys.
>> Does anyone has such experience?
>>
>> Thanks in advance,
>>
>
What do those @@ do for the statement?
--
"You are behaving like a man",
is an insult from some women,
a compliment from an good woman.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adam Witney | 2003-10-24 14:19:36 | Re: shared memory on OS X - 7.4beta4 |
| Previous Message | Staff, Alexander | 2003-10-24 14:18:02 | Index Usage Question |