0
0
Fork 0

switch back to upsidedown as default index before merge to master

This commit is contained in:
Marty Schoch 2018-01-05 16:53:16 -05:00
parent d3106493de
commit 94b0367e47
1 changed files with 5 additions and 2 deletions

View File

@ -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))