index

package
v0.0.0-...-9c67b44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: GPL-3.0 Imports: 21 Imported by: 0

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 Index

type Index struct {
	Name string
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL