[fulltext] GIN indexes - OR search - Mailing list pgsql-general

From esemba
Subject [fulltext] GIN indexes - OR search
Date
Msg-id 22781900.post@talk.nabble.com
Whole thread Raw
Responses Re: [fulltext] GIN indexes - OR search
List pgsql-general
Is it possible to have 2 gin indexes and OR the search of them?
Problem is, I need to search 5 columns and there is limitation of only 4
weights, so I want to have one index of 4 vectors and second index of 1
vector and need to OR the search.
When I try to search them separately, or use AND, it works, but for OR
EXPLAIN ANALYZE shows me, it does seq scan.

Thank you.
--
View this message in context: http://www.nabble.com/-fulltext--GIN-indexes---OR-search-tp22781900p22781900.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: Parallel Query Processing
Next
From: Dave Page
Date:
Subject: Re: New shapshot RPMs (Mar 27, 2009) are ready for testing