|The default block size to use in a B-tree table. |
|typedef unsigned int||chert_blocksize_t|
|typedef unsigned int||chert_revision_number_t|
|A type used to store a revision number for a table. |
|typedef unsigned long long||chert_tablesize_t|
|A type used to store the number of entries in a table. |
|typedef unsigned int||chert_doclen_t|
|An integer type for storing the length of a document - ie, the sum of the wdfs of the terms in the document. |
|#define CHERT_DEFAULT_BLOCK_SIZE 8192|
|typedef unsigned int chert_doclen_t|
|typedef unsigned int chert_revision_number_t|
A type used to store a revision number for a table.
A table's revision number increases monotonically, incrementing by one each time a modification is applied to the table.
FIXME: ensure that this is of a suitable minimum size - 32 bits is satisfactory in most cases, but in extreme cases could cause the revision number to roll over after a few years. It would be better to use 64 bits (and / or to ensure that rolling over causes no problem).
|typedef unsigned long long chert_tablesize_t|