MM-28737: Upgrade dependencies (#15877)
https://mattermost.atlassian.net/browse/MM-28737 Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d2730014f9
Коммит
087758caee
16
vendor/github.com/blevesearch/bleve/mapping/index.go
сгенерированный
поставляемый
16
vendor/github.com/blevesearch/bleve/mapping/index.go
сгенерированный
поставляемый
@@ -101,26 +101,26 @@ func (im *IndexMappingImpl) AddCustomTokenFilter(name string, config map[string]
|
||||
// returned analyzer is registered in the IndexMapping.
|
||||
//
|
||||
// bleve comes with predefined analyzers, like
|
||||
// github.com/blevesearch/bleve/analysis/analyzers/custom_analyzer. They are
|
||||
// github.com/blevesearch/bleve/analysis/analyzer/custom. They are
|
||||
// available only if their package is imported by client code. To achieve this,
|
||||
// use their metadata to fill configuration entries:
|
||||
//
|
||||
// import (
|
||||
// "github.com/blevesearch/bleve/analysis/analyzers/custom_analyzer"
|
||||
// "github.com/blevesearch/bleve/analysis/char_filters/html_char_filter"
|
||||
// "github.com/blevesearch/bleve/analysis/token_filters/lower_case_filter"
|
||||
// "github.com/blevesearch/bleve/analysis/tokenizers/unicode"
|
||||
// "github.com/blevesearch/bleve/analysis/analyzer/custom"
|
||||
// "github.com/blevesearch/bleve/analysis/char/html"
|
||||
// "github.com/blevesearch/bleve/analysis/token/lowercase"
|
||||
// "github.com/blevesearch/bleve/analysis/tokenizer/unicode"
|
||||
// )
|
||||
//
|
||||
// m := bleve.NewIndexMapping()
|
||||
// err := m.AddCustomAnalyzer("html", map[string]interface{}{
|
||||
// "type": custom_analyzer.Name,
|
||||
// "type": custom.Name,
|
||||
// "char_filters": []string{
|
||||
// html_char_filter.Name,
|
||||
// html.Name,
|
||||
// },
|
||||
// "tokenizer": unicode.Name,
|
||||
// "token_filters": []string{
|
||||
// lower_case_filter.Name,
|
||||
// lowercase.Name,
|
||||
// ...
|
||||
// },
|
||||
// })
|
||||
|
||||
Ссылка в новой задаче
Block a user