update utils for new bleve config
This commit is contained in:
parent
f81b2be334
commit
5897997906
@ -17,6 +17,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/blevesearch/bleve"
|
"github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var indexPath = flag.String("index", "", "index path")
|
var indexPath = flag.String("index", "", "index path")
|
||||||
|
@ -16,6 +16,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/blevesearch/bleve"
|
"github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var indexPath = flag.String("index", "", "index path")
|
var indexPath = flag.String("index", "", "index path")
|
||||||
|
@ -16,6 +16,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/blevesearch/bleve"
|
"github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
"github.com/blevesearch/bleve/index/upside_down"
|
"github.com/blevesearch/bleve/index/upside_down"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/blevesearch/bleve"
|
"github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var indexPath = flag.String("index", "", "index path")
|
var indexPath = flag.String("index", "", "index path")
|
||||||
|
@ -18,6 +18,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/blevesearch/bleve"
|
"github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var indexPath = flag.String("index", "", "index path")
|
var indexPath = flag.String("index", "", "index path")
|
||||||
|
@ -14,6 +14,7 @@ import (
|
|||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
_ "github.com/blevesearch/bleve"
|
_ "github.com/blevesearch/bleve"
|
||||||
|
_ "github.com/blevesearch/bleve/config"
|
||||||
"github.com/blevesearch/bleve/registry"
|
"github.com/blevesearch/bleve/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user