Documentation
¶
Index ¶
- type Proxy
- func (p *Proxy) CreateIndex(indexName string, mapping string) error
- func (p *Proxy) DeleteIndex(indexName string) error
- func (p *Proxy) Index(indexName string, storesToIndex []models.StoreRecord) *models.IndexerResponse
- func (p *Proxy) Search(request models.StoreQueryRequest, indexName string) (*models.StoreQueryResponse, error)
- func (p *Proxy) Stats() (*elastic.ClusterStatsResponse, error)
- type ProxyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy elastic search proxy
func (*Proxy) CreateIndex ¶
CreateIndex creates an elastic search index
func (*Proxy) DeleteIndex ¶
DeleteIndex deletes elastic search index
func (*Proxy) Index ¶
func (p *Proxy) Index(indexName string, storesToIndex []models.StoreRecord) *models.IndexerResponse
Index indexes csv data
func (*Proxy) Search ¶
func (p *Proxy) Search(request models.StoreQueryRequest, indexName string) (*models.StoreQueryResponse, error)
Search executes a store location elastic query and returns response
Click to show internal directories.
Click to hide internal directories.