Class CQueryResult contains all information about the first MaxCachedHitsCount hits for the input query. Other hits (beyond MaxCachedHitsCount) are not stored but they can be retrieved on user's demand. More...
#include <ConcHolder.h>
Class CQueryResult contains all information about the first MaxCachedHitsCount hits for the input query. Other hits (beyond MaxCachedHitsCount) are not stored but they can be retrieved on user's demand.
void CQueryResult::ClearQueryResults | ( | ) |
References ClearVector(), m_DebugInfo, m_HighlightOccurs, and m_Hits.
Referenced by CConcHolder::GetAllHits(), CConcHolder::GetHits(), and CConcHolder::TryToGetFromCache().
vector<CHit> CQueryResult::m_Hits |
found hits (not more than MaxCachedHitsCount).
Referenced by ClearQueryResults(), CConcHolder::GenerateHitStrings(), CConcHolder::GetAllHits(), CConcHolder::GetFileSnippets(), CConcHolder::GetHitIds(), CConcHolder::GetHits(), CConcHolder::SaveToCache(), and CConcHolder::TryToGetFromCache().
words that should be highlighted in hits; m_HighlightOccurs is the concatenation of CQueryNode::m_Occurrences for all subcorpora
Referenced by ClearQueryResults(), CConcHolder::GenerateHitStrings(), CConcHolder::GetAllHits(), CConcHolder::GetFileSnippets(), CConcHolder::GetHits(), CConcHolder::SaveToCache(), and CConcHolder::TryToGetFromCache().
size_t CQueryResult::m_AllHitsCount |
the number of all found hits (if m_AllHitsCount < MaxCachedHitsCount, then m_Hits.size() == m_AllHitsCount)
Referenced by CConcHolder::GetAllHits(), CDDCCorpusListenHost::ProcessSocketString(), CConcHolder::SaveToCache(), CConcHolder::SimpleQuery(), and CConcHolder::TryToGetFromCache().
the number of documents, where at least one hit is found
Referenced by CConcHolder::GetAllHits(), CDDCCorpusListenHost::ProcessSocketString(), CConcHolder::SaveToCache(), CConcHolder::SimpleQuery(), and CConcHolder::TryToGetFromCache().
vector<BYTE> CQueryResult::m_DebugInfo [mutable] |