Last active
August 29, 2015 14:27
-
-
Save lgrz/8e25938fab709788371f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct lexicon_entry { | |
/* the term (t) */ | |
char *term; | |
/* term length */ | |
uint16_t len; | |
/* the document frequency (ft) */ | |
uint32_t doc_freq; | |
/* start of inverted list for this term */ | |
uint64_t offset; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment