Versions in this module Expand all Collapse all v0 v0.8.1 Sep 20, 2019 Changes in this version + func IndexByName(name string) bleve.Index + func IndexNames() []string + func RegisterIndexName(name string, idx bleve.Index) + func SetLog(l *log.Logger) + func UnregisterIndexByName(name string) bleve.Index + func UpdateAlias(alias string, add, remove []string) error + type AliasAction struct + AddIndexes []string + Alias string + RemoveIndexes []string + type AliasHandler struct + func NewAliasHandler() *AliasHandler + func (h *AliasHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type CreateIndexHandler struct + IndexNameLookup varLookupFunc + func NewCreateIndexHandler(basePath string) *CreateIndexHandler + func (h *CreateIndexHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DebugDocumentHandler struct + DocIDLookup varLookupFunc + IndexNameLookup varLookupFunc + func NewDebugDocumentHandler(defaultIndexName string) *DebugDocumentHandler + func (h *DebugDocumentHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DeleteIndexHandler struct + IndexNameLookup varLookupFunc + func NewDeleteIndexHandler(basePath string) *DeleteIndexHandler + func (h *DeleteIndexHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DocCountHandler struct + IndexNameLookup varLookupFunc + func NewDocCountHandler(defaultIndexName string) *DocCountHandler + func (h *DocCountHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DocDeleteHandler struct + DocIDLookup varLookupFunc + IndexNameLookup varLookupFunc + func NewDocDeleteHandler(defaultIndexName string) *DocDeleteHandler + func (h *DocDeleteHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DocGetHandler struct + DocIDLookup varLookupFunc + IndexNameLookup varLookupFunc + func NewDocGetHandler(defaultIndexName string) *DocGetHandler + func (h *DocGetHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type DocIndexHandler struct + DocIDLookup varLookupFunc + IndexNameLookup varLookupFunc + func NewDocIndexHandler(defaultIndexName string) *DocIndexHandler + func (h *DocIndexHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type GetIndexHandler struct + IndexNameLookup varLookupFunc + func NewGetIndexHandler() *GetIndexHandler + func (h *GetIndexHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type ListFieldsHandler struct + IndexNameLookup varLookupFunc + func NewListFieldsHandler(defaultIndexName string) *ListFieldsHandler + func (h *ListFieldsHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type ListIndexesHandler struct + func NewListIndexesHandler() *ListIndexesHandler + func (h *ListIndexesHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type SearchHandler struct + IndexNameLookup varLookupFunc + func NewSearchHandler(defaultIndexName string) *SearchHandler + func (h *SearchHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)