# README
go-whosonfirst-elasticsearch/writer
Implement the whosonfirst/go-writer
interfaces for writing Who's On First documents to an Elasticsearch index.
Documentation
Documentation is incomplete at this. Consult godoc
in writer_es7.go for the time being.
See also
# Functions
No description provided by the author
NewElasticsearchV7Writer returns a new `ElasticsearchV7Writer` instance for writing documents to an Elasticsearch index using the github.com/elastic/go-elasticsearch/v7 package configured by 'uri' which is expected to take the form of:
elasticsearch://{HOST}:{PORT}/{INDEX}?{QUERY_PARAMETERS} elasticsearch7://{HOST}:{PORT}/{INDEX}?{QUERY_PARAMETERS}
Where {QUERY_PARAMETERS} may be one or more of the following: * ?debug={BOOLEAN}.
NewElasticsearchV8Writer returns a new `ElasticsearchV8Writer` instance for writing documents to an Elasticsearch index using the github.com/elastic/go-elasticsearch/v8 package configured by 'uri' which is expected to take the form of:
elasticsearch://{USER}:{PASSWORD}@{HOST}:{PORT}/{INDEX}?{QUERY_PARAMETERS} elasticsearch7://{USER}:{PASSWORD}@{HOST}:{PORT}/{INDEX}?{QUERY_PARAMETERS}
Where {QUERY_PARAMETERS} may be one or more of the following: * ?ca-cert-uri={STRING}.
# Structs
No description provided by the author
ElasticsearchV7Writer is a struct that implements the `Writer` interface for writing documents to an Elasticsearch index using the github.com/elastic/go-elasticsearch/v7 package.
ElasticsearchV8Writer is a struct that implements the `Writer` interface for writing documents to an Elasticsearch index using the github.com/elastic/go-elasticsearch/v8 package.