mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
keep track of whe a qti matchingsublist came from (for later referencing the qt->* fields (weights etc.)
This commit is contained in:
@ -5020,6 +5020,7 @@ void PosdbTable::delNonMatchingDocIdsFromSubLists() {
|
||||
qti->m_matchingSublist[x].m_end = newEndPtr[k];
|
||||
qti->m_matchingSublist[x].m_cursor = newStartPtr;
|
||||
qti->m_matchingSublist[x].m_savedCursor = newStartPtr;
|
||||
qti->m_matchingSublist[x].m_baseSubListIndex = j;
|
||||
qti->m_numMatchingSubLists++;
|
||||
break;
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ public:
|
||||
const char *m_end;
|
||||
const char *m_cursor;
|
||||
const char *m_savedCursor;
|
||||
int m_baseSubListIndex; //which of m_subList[] entries it is based on
|
||||
} m_matchingSublist[MAX_SUBLISTS];
|
||||
int32_t m_numMatchingSubLists;
|
||||
|
||||
|
Reference in New Issue
Block a user