Skip to content

Commit

Permalink
Revert scorch index #341
Browse files Browse the repository at this point in the history
This reverts commit ded8130.
  • Loading branch information
borovskyav committed Apr 10, 2019
1 parent 95ec9a6 commit bd38b04
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 111 deletions.
3 changes: 1 addition & 2 deletions index/bleve/trigger_index.go
Expand Up @@ -2,7 +2,6 @@ package bleve

import (
"github.com/blevesearch/bleve"
"github.com/blevesearch/bleve/index/scorch"
"github.com/blevesearch/bleve/mapping"
)

Expand All @@ -13,7 +12,7 @@ type TriggerIndex struct {

// CreateTriggerIndex returns TriggerIndex by provided mapping
func CreateTriggerIndex(mapping mapping.IndexMapping) (*TriggerIndex, error) {
bleveIdx, err := bleve.NewUsing("", mapping, scorch.Name, scorch.Name, map[string]interface{}{})
bleveIdx, err := bleve.NewMemOnly(mapping)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit bd38b04

Please sign in to comment.