MCPcopy Create free account
hub / github.com/TruthHun/BookStack / ElasticSearchClient

Struct ElasticSearchClient

models/elasticsearch.go:30–37  ·  view source on GitHub ↗

全文搜索客户端

Source from the content-addressed store, hash-verified

28
29//全文搜索客户端
30type ElasticSearchClient struct {
31 Host string //host
32 Index string //索引
33 Type string //type
34 On bool //是否启用全文搜索
35 Timeout time.Duration //超时时间
36 IsRelateSearch bool
37}
38
39//全文搜索
40type ElasticSearchData struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected