Searching for suiting index

Started by Janek Sendrowskiover 12 years ago1 messagesgeneral
Jump to latest
#1Janek Sendrowski
janek12@web.de

Hi,
 
I store around 300 bits the row in my table. Every bit is a boolean values on its own.
I want to do a similarity search by comparing each bit and get every row which has a certain number of equal bits.
What kind of index could be useful for scenario?
Could it make sense to calculate a kind of hashvalue for each row to filter the rows dirty at first.
 
Thank you for your help
Janek Sendrowski

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general