Use multimap as index structure

This commit is contained in:
jbajic 2022-12-05 14:52:51 +01:00
parent 4a3f950cf9
commit 65e9ceb779

View File

@ -12,6 +12,7 @@
#pragma once
#include <cstdint>
#include <map>
#include <optional>
#include <tuple>
#include <utility>
@ -146,7 +147,7 @@ class LabelPropertyIndex {
};
public:
using LabelPropertyIndexContainer = std::map<PropertyValue, Entry>;
using LabelPropertyIndexContainer = std::multimap<PropertyValue, Entry>;
LabelPropertyIndex(Indices *indices, Config::Items config, const VertexValidator &vertex_validator)
: indices_(indices), config_(config), vertex_validator_{&vertex_validator} {}