From 4d71e901e866e06c006302d8e2b5bc71b7ce0793 Mon Sep 17 00:00:00 2001 From: Marty Schoch Date: Thu, 11 Jan 2018 11:00:18 -0500 Subject: [PATCH] make new analyzers available to consumers of the config pkg many tools and applications using bleve use the config pkg to include support for many languages out of the box by forcing import of optional packages. --- config/config.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/config.go b/config/config.go index c4c5e915..ad0bdcb9 100644 --- a/config/config.go +++ b/config/config.go @@ -75,19 +75,30 @@ import ( _ "github.com/blevesearch/bleve/analysis/lang/cjk" _ "github.com/blevesearch/bleve/analysis/lang/ckb" _ "github.com/blevesearch/bleve/analysis/lang/cs" + _ "github.com/blevesearch/bleve/analysis/lang/da" + _ "github.com/blevesearch/bleve/analysis/lang/de" _ "github.com/blevesearch/bleve/analysis/lang/el" _ "github.com/blevesearch/bleve/analysis/lang/en" + _ "github.com/blevesearch/bleve/analysis/lang/es" _ "github.com/blevesearch/bleve/analysis/lang/eu" _ "github.com/blevesearch/bleve/analysis/lang/fa" + _ "github.com/blevesearch/bleve/analysis/lang/fi" _ "github.com/blevesearch/bleve/analysis/lang/fr" _ "github.com/blevesearch/bleve/analysis/lang/ga" _ "github.com/blevesearch/bleve/analysis/lang/gl" _ "github.com/blevesearch/bleve/analysis/lang/hi" + _ "github.com/blevesearch/bleve/analysis/lang/hu" _ "github.com/blevesearch/bleve/analysis/lang/hy" _ "github.com/blevesearch/bleve/analysis/lang/id" _ "github.com/blevesearch/bleve/analysis/lang/in" _ "github.com/blevesearch/bleve/analysis/lang/it" + _ "github.com/blevesearch/bleve/analysis/lang/nl" + _ "github.com/blevesearch/bleve/analysis/lang/no" _ "github.com/blevesearch/bleve/analysis/lang/pt" + _ "github.com/blevesearch/bleve/analysis/lang/ro" + _ "github.com/blevesearch/bleve/analysis/lang/ru" + _ "github.com/blevesearch/bleve/analysis/lang/sv" + _ "github.com/blevesearch/bleve/analysis/lang/tr" // kv stores _ "github.com/blevesearch/bleve/index/store/boltdb"