From 432c2b5506d572ea2aedd7ca2a6c20ecbabc9bd0 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Wed, 3 Oct 2018 17:32:22 +0300 Subject: [PATCH] set trackExistence to true in NewIndex --- index.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.go b/index.go index 0992ab213..297c02f20 100644 --- a/index.go +++ b/index.go @@ -69,9 +69,10 @@ func NewIndex(path, name string) (*Index, error) { newAttrStore: newNopAttrStore, columnAttrs: nopStore, - broadcaster: NopBroadcaster, - Stats: NopStatsClient, - logger: NopLogger, + broadcaster: NopBroadcaster, + Stats: NopStatsClient, + logger: NopLogger, + trackExistence: true, }, nil }