On Mon, Mar 31, 2014 at 12:09 PM, Alexander Korotkov <aekorot...@gmail.com> wrote: >> I'm not sure if it is doable at all, but are there any possibility to >> implement here, or, what would be just great, any ready/half ready >> solutions of a Hamming distance based kNN search? > > Cube dealing with float8 numbers. There is another patch making it work with > other number types. But Hamming distance is for bit vectors, isn't it?
It can be generalized as for character vectors. Though, I agree, that was an off topic question in some extent. I was wondering if there were any postgres related indexable Hamming/Manhattan distance experiments/thoughts/discussions, if kNN can be used here or not, because from my understanding it can be represented as spatial (I might be very wrong here). -- Kind regards, Sergey Konoplev PostgreSQL Consultant and DBA http://www.linkedin.com/in/grayhemp +1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979 gray...@gmail.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers