diff --git a/src/storage/v2/indices/text_index.cpp b/src/storage/v2/indices/text_index.cpp index fe940cade..54597f530 100644 --- a/src/storage/v2/indices/text_index.cpp +++ b/src/storage/v2/indices/text_index.cpp @@ -306,6 +306,4 @@ std::vector> TextIndex::ListIndices() const { return ret; } -std::uint64_t TextIndex::ApproximateVertexCount(const std::string &index_name) const { return 10; } - } // namespace memgraph::storage diff --git a/src/storage/v2/indices/text_index.hpp b/src/storage/v2/indices/text_index.hpp index 9d23b1c99..b57a6ebd5 100644 --- a/src/storage/v2/indices/text_index.hpp +++ b/src/storage/v2/indices/text_index.hpp @@ -83,8 +83,6 @@ class TextIndex { void Rollback(); std::vector> ListIndices() const; - - std::uint64_t ApproximateVertexCount(const std::string &index_name) const; }; } // namespace memgraph::storage diff --git a/src/storage/v2/vertex_accessor.cpp b/src/storage/v2/vertex_accessor.cpp index 57cb764c7..961fe8ed0 100644 --- a/src/storage/v2/vertex_accessor.cpp +++ b/src/storage/v2/vertex_accessor.cpp @@ -15,8 +15,6 @@ #include #include -#include - #include "query/exceptions.hpp" #include "storage/v2/disk/storage.hpp" #include "storage/v2/edge_accessor.hpp" @@ -28,12 +26,13 @@ #include "storage/v2/storage.hpp" #include "storage/v2/vertex_info_cache.hpp" #include "storage/v2/vertex_info_helpers.hpp" -#include "text_search.hpp" #include "utils/atomic_memory_block.hpp" #include "utils/logging.hpp" #include "utils/memory_tracker.hpp" #include "utils/variant_helpers.hpp" +#include + namespace memgraph::storage { namespace detail {