by sour-taste · 1y ago · 0 comments
map<term_id, map<pair<document_id, positions_idx>> inverted_index;
Think you also meant to remove the pair in map<pair>?