Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
inverted_word_index [2011/04/09 20:49] – daniel | inverted_word_index [2011/04/09 20:50] – daniel |
---|
</code> | </code> |
===== Notes ===== | ===== Notes ===== |
The formula <code>var_part_no*16384+(i*8)+j+1</code> translates a bit in the vector to a mail_id relies on the fact that the index is split into parts indexing each one at most 16384 messages. This size of parts could actually be increased for larger databases (think millions of messages), and in this case, this code should be updated accordingly. | The following formula: <code>var_part_no*16384+(i*8)+j+1</code> that translates a bit in the vector to a mail_id relies on the fact that the index is split into parts indexing each one at most 16384 messages. This size of parts could actually be increased for larger databases (think millions of messages), and in this case, this code should be updated accordingly. |
| |
===== Usage ===== | ===== Usage ===== |