Inverted index: header for idxcr/idxqry
This commit is contained in:
16
idx.h
16
idx.h
@ -22,22 +22,22 @@
|
|||||||
- email : powturbo [_AT_] gmail [_DOT_] com
|
- email : powturbo [_AT_] gmail [_DOT_] com
|
||||||
**/
|
**/
|
||||||
|
|
||||||
// "Integer Compression" header for idxcr/idxqry
|
// "Integer Compression" header for idxcr/idxqry
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define BLK_DIDNUM (128+1) // Block size 128 + 1 (1 stored in skips)
|
#define BLK_DIDNUM (128+1) // Block size 128 + 1 (1 stored in skips)
|
||||||
|
|
||||||
// compressed size for 62 GB clueweb09.sorted
|
// compressed size for 62 GB clueweb09.sorted
|
||||||
// Defaut is bitpackv/bitunpackv 18 GB
|
// Defaut is bitpackv/bitunpackv 18 GB
|
||||||
//#define _TURBOPFOR // for compact version 12 GB
|
//#define _TURBOPFOR // for compact version 12 GB
|
||||||
|
|
||||||
#ifdef _TURBOPFOR
|
#ifdef _TURBOPFOR
|
||||||
//#define SKIP_S 6
|
//#define SKIP_S 6
|
||||||
#define SKIP_SIZE 2 // always no implicit skip.
|
#define SKIP_SIZE 2 // always no implicit skip.
|
||||||
#else
|
#else
|
||||||
//#define SKIP_S 5
|
//#define SKIP_S 5
|
||||||
#define SKIP_SIZE 2 // no implicit skips
|
#define SKIP_SIZE 2 // no implicit skips
|
||||||
//#define SKIP_SIZE 1 // implicit skips
|
//#define SKIP_SIZE 1 // implicit skips
|
||||||
#endif
|
#endif
|
||||||
#define SKIP_M ((1<<SKIP_S)-1)
|
#define SKIP_M ((1<<SKIP_S)-1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user