MCPcopy Create free account
hub / github.com/apache/answer-plugins / connect

Method connect

search-algolia/algolia.go:241–244  ·  view source on GitHub ↗

connect connect to algolia server

()

Source from the content-addressed store, hash-verified

239
240// connect connect to algolia server
241func (s *SearchAlgolia) connect() (err error) {
242 s.client = search.NewClient(s.Config.APPID, s.Config.APIKey)
243 return
244}
245
246// init or create index
247func (s *SearchAlgolia) getIndex(order string) (index *search.Index) {

Callers 1

ConfigReceiverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected