Remove unique from label-prop index

Summary: Remove unique feature from label-property index

Reviewers: ipaljak, mferencevic, vkasljevic

Reviewed By: mferencevic

Subscribers: tsabolcec, pullbot

Differential Revision: https://phabricator.memgraph.io/D2045
This commit is contained in:
Matija Santl
2019-05-13 17:06:16 +02:00
parent 1f93edaa88
commit f2cc41fa59
32 changed files with 111 additions and 372 deletions

View File

@@ -93,7 +93,7 @@ static auto CreateIndexedVertices(int index_count, int vertex_count,
database::GraphDb &db) {
auto label = db.Access().Label("label");
auto prop = db.Access().Property("prop");
db.Access().BuildIndex(label, prop, false);
db.Access().BuildIndex(label, prop);
auto dba = db.Access();
for (int vi = 0; vi < vertex_count; ++vi) {
for (int index = 0; index < index_count; ++index) {