Re: scoring differences between bitmasks

Поиск
Список
Период
Сортировка
От Ben
Тема Re: scoring differences between bitmasks
Дата
Msg-id E609BD70-26A2-472B-9B6D-DE2462C39C1E@silentmedia.com
обсуждение исходный текст
Ответ на scoring differences between bitmasks  (Ben <bench@silentmedia.com>)
Ответы Re: scoring differences between bitmasks  ("Todd A. Cook" <tcook@blackducksoftware.com>)
Список pgsql-general
Sure, but unless I can figure out some way to choose a small number
of vectors, I'm left with computing the full N^2 set. Given that I'm
shooting for N to be 4 million or larger, that's a lot of data to
store.....

On Oct 2, 2005, at 12:14 PM, Todd A. Cook wrote:

> 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 по дате отправления:

Предыдущее
От: Wes
Дата:
Сообщение: Re: 8.1 'make check' fails
Следующее
От: Samik Raychaudhuri
Дата:
Сообщение: Re: Portable PostgreSQL