ddc
|
#include "StdConc.h"
#include "IndexSetForQueryingStage.h"
#include "ConcordAlgorithm.h"
#include "StringIndexator.h"
#include <fcntl.h>
Macros | |
#define | OCCDEBUG(x) |
Functions | |
void | DearchiveOccurrences (const DWORD *in_start, const DWORD *in_end, DWORD *out_start, DWORD &OutCount, bool bEnabled) |
void | CompressOccurrences (const vector< DWORD > &In, vector< DWORD > &Out, bool bEnabled) |
void | CompressPortion (vector< DWORD > &Archive, const vector< DWORD > &Body, DWORD Start, DWORD End, bool bArchiveOccurrences) |
Variables | |
const size_t | MaxCompressRatio = 5 |
size_t | AllBytesRead = 0 |
const DWORD | OccurBufferSize = 512 |
the size of the buffer, which is used to read occurrences from the disk More... | |
#define OCCDEBUG | ( | x | ) |
Referenced by CIndexSetForQueryingStage::AddOccurs().
void DearchiveOccurrences | ( | const DWORD * | in_start, |
const DWORD * | in_end, | ||
DWORD * | out_start, | ||
DWORD & | OutCount, | ||
bool | bEnabled | ||
) |
References DeconvertFromVariableInteger().
Referenced by CIndexSetForQueryingStage::AddOccurs().
References ConvertToVariableInteger().
Referenced by CompressPortion().
void CompressPortion | ( | vector< DWORD > & | Archive, |
const vector< DWORD > & | Body, | ||
DWORD | Start, | ||
DWORD | End, | ||
bool | bArchiveOccurrences | ||
) |
References CompressOccurrences().
Referenced by CIndexSetForQueryingStage::BuildPeriodsDivisionAndCompress().
const size_t MaxCompressRatio = 5 |
Referenced by CIndexSetForQueryingStage::AddOccurs().
size_t AllBytesRead = 0 |
const DWORD OccurBufferSize = 512 |
the size of the buffer, which is used to read occurrences from the disk
Referenced by CIndexSetForQueryingStage::AddOccurs(), and CIndexSetForQueryingStage::BuildPeriodsDivisionAndCompress().