keep track of whe a qti matchingsublist came from (for later referencing the qt->* fields (weights etc.)

This commit is contained in:
Ivan Skytte Jørgensen
2017-06-20 16:41:57 +02:00
parent ef2eadcbc0
commit e3e0f0b740
2 changed files with 2 additions and 0 deletions

@ -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;