From 94b0367e47fe54650ffbe56b51c073baa4b0e298 Mon Sep 17 00:00:00 2001 From: Marty Schoch Date: Fri, 5 Jan 2018 16:53:16 -0500 Subject: [PATCH] switch back to upsidedown as default index before merge to master --- config.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index c1475db7..482efb40 100644 --- a/config.go +++ b/config.go @@ -21,10 +21,13 @@ import ( "time" "github.com/blevesearch/bleve/index" - "github.com/blevesearch/bleve/index/scorch" "github.com/blevesearch/bleve/index/store/gtreap" + "github.com/blevesearch/bleve/index/upsidedown" "github.com/blevesearch/bleve/registry" "github.com/blevesearch/bleve/search/highlight/highlighter/html" + + // force import of scorch so its accessible by default + _ "github.com/blevesearch/bleve/index/scorch" ) var bleveExpVar = expvar.NewMap("bleve") @@ -69,7 +72,7 @@ func init() { Config.DefaultMemKVStore = gtreap.Name // default index - Config.DefaultIndexType = scorch.Name + Config.DefaultIndexType = upsidedown.Name bootDuration := time.Since(bootStart) bleveExpVar.Add("bootDuration", int64(bootDuration))