mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-12-25 23:11:51 -05:00
The local arrays were allocated for num-query-terms but what was really needed was num-query-term-infos. Changed to plain std::vector<> arrays and call to intersectLists() wrapped for cathcing std::bad_alloc. 'scoreMatrix' is still kept as a lineraized verison of a 2-dimensional matrix. No changed all the way through so there a still some "&(vector[0])" expressions.
5.6 KiB
5.6 KiB