Skip to content

Commit

Permalink
switch back to upsidedown as default index before merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Jan 5, 2018
1 parent d310649 commit 94b0367
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 94b0367

Please sign in to comment.