From 2ef9d81a63e292d8929f72e6291c650eba5cbe4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ante=20Pu=C5=A1i=C4=87?= Date: Mon, 22 Jan 2024 10:28:01 +0100 Subject: [PATCH] Add clarification --- src/query/frontend/ast/ast.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/query/frontend/ast/ast.hpp b/src/query/frontend/ast/ast.hpp index d8ff325cb..d862ecf81 100644 --- a/src/query/frontend/ast/ast.hpp +++ b/src/query/frontend/ast/ast.hpp @@ -2195,6 +2195,8 @@ class IndexQuery : public memgraph::query::Query { enum class Action { CREATE, DROP }; + // IndexQuery distinguishes two types of indices. Lookup indices (label and label & property) make it faster to look + // up nodes, whereas text indices enable text search. enum class Type { LOOKUP, TEXT }; IndexQuery() = default;