Ai
1 Star 1 Fork 0

宇宙蒙面侠X/github.com-olivere-elastic

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
suggester.go 490 Bytes
Copy Edit Raw Blame History
Oliver Eilhard authored 2016-06-25 22:38 +08:00 . Prepare for Elasticsearch 5.0 (wip)
// Copyright 2012-present Oliver Eilhard. All rights reserved.
// Use of this source code is governed by a MIT-license.
// See http://olivere.mit-license.org/license.txt for details.
package elastic
// Represents the generic suggester interface.
// A suggester's only purpose is to return the
// source of the query as a JSON-serializable
// object. Returning a map[string]interface{}
// will do.
type Suggester interface {
Name() string
Source(includeName bool) (interface{}, error)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/awol2010ex/github.com-olivere-elastic.git
git@gitee.com:awol2010ex/github.com-olivere-elastic.git
awol2010ex
github.com-olivere-elastic
github.com-olivere-elastic
v6.2.37

Search