Re: scoring differences between bitmasks

Поиск
Список
Период
Сортировка
От Todd A. Cook
Тема Re: scoring differences between bitmasks
Дата
Msg-id 43403184.5000107@blackducksoftware.com
обсуждение исходный текст
Ответ на scoring differences between bitmasks  (Ben <bench@silentmedia.com>)
Список pgsql-general
Ben wrote:
> Just the number of bits, not which ones. Basically, the hamming  distance.

I see.  Could you pre-compute the bit counts for the vectors in the table?
You could count the bits in the search vector as Martijn suggested, and then
do a lookup based on the count.

-- todd




В списке pgsql-general по дате отправления:

Предыдущее
От: Ben
Дата:
Сообщение: Re: scoring differences between bitmasks
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Portable PostgreSQL