#include "StdConc.h"
#include "IndexSetForQueryingStage.h"
#include "ConcordAlgorithm.h"
#include "StringIndexator.h"
#include <fcntl.h>
void DearchiveOccurrences | ( | const DWORD * | in_start, | |
const DWORD * | in_end, | |||
DWORD * | out_start, | |||
DWORD & | OutCount, | |||
bool | bEnabled | |||
) |
References DeconvertFromVariableInteger().
Referenced by CIndexSetForQueryingStage::AddOccurs().
void ReadOccurrences | ( | FILE * | OccursFp, | |
CTokenNo * | OutBuffer, | |||
file_off_t | FilePosition, | |||
size_t | Count | |||
) |
References AllBytesRead, errReadOccurrenceFile, Format(), and FSeek().
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 |
Referenced by ReadOccurrences().
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().