Browse Source

switch back to upsidedown as default index before merge to master

tags/v0.6.0^2
Marty Schoch 1 year ago
parent
commit
94b0367e47
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      config.go

+ 5
- 2
config.go 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))

Loading…
Cancel
Save