#include "StdConc.h"
#include "ConcCommon.h"
#include "ConcHolder.h"
#include "QueryParser.h"
#include "Bibliography.h"
#include "math.h"
#include "ddcString.h"
#define JSON_HASH 1 |
vector<size_t>::iterator my_lower_bound | ( | vector< size_t >::iterator | First, | |
vector< size_t >::iterator | Last, | |||
int | OrderId, | |||
const vector< CHit > & | Base | |||
) |
void DeleteEOLN | ( | string & | txt | ) |
void SpaceStartQuoteMarks | ( | string & | s | ) |
string BuildHtmlHitStrWithHighlighting | ( | const vector< COutputToken > & | Tokens, | |
bool | bConvertASCIIToHtmlSymbols, | |||
const CHighlightTags & | HighlightTags, | |||
bool | bUseAnchorSpan, | |||
const string & | tokenDelimiter = "" | |||
) |
References ConvertASCIIToHtmlSymbols(), CHighlightTags::m_FirstCloser, CHighlightTags::m_FirstOpener, CHighlightTags::m_RestCloser, CHighlightTags::m_RestOpener, SpaceStartQuoteMarks(), and Trim().
Referenced by CConcHolder::GenerateOneHitString(), and CConcHolder::GetContext().
void GetHitRankLen | ( | vector< COccurrenceAndQueryNodeIndex > & | OccurrenceAndQueryNodeIndex, | |
int | start_pos, | |||
int | end_pos, | |||
CHitRank & | Result | |||
) |
References CHitRank::m_PassageEnd, CHitRank::m_PassageStart, and CHitRank::m_QueryNodeFreqs.
Referenced by CConcHolder::InitLessByRank().
const size_t MaxCachedHitsCount = 500 |
Referenced by CConcHolder::GetHits(), CConcHolder::SaveToCache(), and CConcHolder::TryToGetFromCache().
const size_t MaxQueryCacheSize = 500 |
Referenced by CConcHolder::SaveToCache().
const time_t TheEndOfTheWorld = 0xffffffff |
Referenced by CConcHolder::CConcHolder(), CConcHolder::GetAllHits(), and CConcHolder::SetTimeOut().