#include <ConcCommon.h>
CHit is a structure that holds one found hit and its properties. The calculation of its slots starts in CQueryNode class and its inheritors and proceeds in CConcHolder class.
CHit::CHit | ( | DWORD | BreakNo | ) | [inline] |
the index of the break, which this hit represents (in the break collection CConcHolder::GetBreaks)
Referenced by CQueryNode::ConvertOccurrencesToHits(), CQueryNode::ConvertOccurrencesToHitsForPatterns(), CConcHolder::GenerateOneHitString(), CConcHolder::GenerateOneHitStringJson(), CConcHolder::InitFileReferences(), CConcHolder::InitGreaterBySize(), CConcHolder::InitLessByRank(), and CConcHolder::InitLessBySize().
the end offset of token occurrences to be highlighted in CQueryNode::m_Occurrences and later in CConcHolder::m_HighlightOccurs
Referenced by CQueryNode::ConvertOccurrencesToHits(), CQueryNode::ConvertOccurrencesToHitsForPatterns(), CConcHolder::GetAllHits(), CQueryBinaryOperationNode::hits_add(), CQueryBinaryOperationNode::hits_and_positions_difference(), CQueryBinaryOperationNode::hits_and_positions_intersection(), and CQueryBinaryOperationNode::hits_and_positions_union().
int CHit::m_OrderId |
a value which is used to sort and to filter hits, which is calculated by an instance of CDDCFilterWithBounds
Referenced by CConcHolder::GenerateOneHitString(), CConcHolder::GenerateOneHitStringJson(), CConcHolder::InitFileReferences(), CConcXml::InitGreaterByBiblIntegerField(), CConcXml::InitGreaterByDate(), CConcHolder::InitGreaterBySize(), CConcXml::InitLessByBiblIntegerField(), CConcHolder::InitLessByBigrams(), CConcXml::InitLessByDate(), CConcHolder::InitLessByRank(), CConcHolder::InitLessBySize(), CConcXml::InitNoSort(), and operator<().
the index of coprus file, where this hit is found, it is equal to m_BreakNo if user searches within files
Referenced by CConcHolder::GenerateOneHitString(), CConcHolder::GenerateOneHitStringJson(), CConcHolder::InitFileReferences(), CConcXml::InitGreaterByBiblIntegerField(), CConcXml::InitGreaterByDate(), CConcXml::InitLessByBiblIntegerField(), CConcXml::InitLessByDate(), CConcHolder::ShowBibliographyForTable(), and CConcHolder::ShowBibliographyForTextOrHtml().
size_t CHit::m_DebugRankNo |
the string which displays how the rank was calculated
Referenced by CConcHolder::GenerateOneHitString(), CConcHolder::GenerateOneHitStringJson(), and CConcHolder::InitLessByRank().