Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Agent = newIndexWithSettingsAndMapping("agent", "agent", "agent") AudioVideo = newIndexWithSettingsAndMapping("audiovideo", "empty", "audiovideo") Authority = newIndexWithSettingsAndMapping("authority", "authority", "authority") Autocomplete = newIndexWithSettingsAndMapping("autocomplete", "autocomplete", "autocomplete") Branch = newIndexWithSettingsAndMapping("branch", "editorial", "editorial") Campaign = newIndexWithSettingsAndMapping("campaign", "campaign", "campaign") Editor = newIndexWithSettingsAndMapping("editor", "empty", "empty") LibraryEvent = newIndexWithSettingsAndMapping("library_event", "library_event", "library_event") Like = newIndexWithSettingsAndMapping("like", "editorial", "editorial") Page = newIndexWithSettingsAndMapping("page", "page", "page") Publication = newIndexWithSettingsAndMapping("publication", "publication", "publication") PublicationList = newIndexWithSettingsAndMapping("publication_list", "editorial", "editorial") Recommendation = newIndexWithSettingsAndMapping("recommendation", "editorial", "editorial") Service = newIndexWithSettingsAndMapping("service", "service", "service") AllIndices = []Index{ Agent, AudioVideo, Authority, Autocomplete, Branch, Campaign, Editor, LibraryEvent, Like, Page, Publication, PublicationList, Recommendation, Service, } )
Functions ¶
This section is empty.
Types ¶
type IndexAdmin ¶
type IndexAdmin struct {
// contains filtered or unexported fields
}
func NewIndexAdmin ¶
func NewIndexAdmin(elasticUrl *url.URL, sibylDb *sql.DB) *IndexAdmin
func (*IndexAdmin) SetupRouter ¶
func (ia *IndexAdmin) SetupRouter() *chi.Mux
Click to show internal directories.
Click to hide internal directories.