config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRules

func GetRules(client *search.APIClient, srcIndex string) ([]search.Rule, error)

func GetSynonyms

func GetSynonyms(client *search.APIClient, srcIndex string) ([]search.SynonymHit, error)

Types

type ExportConfigJSON added in v1.7.0

type ExportConfigJSON struct {
	Settings *search.SettingsResponse `json:"settings,omitempty"`
	Rules    []search.Rule            `json:"rules,omitempty"`
	Synonyms []search.SynonymHit      `json:"synonyms,omitempty"`
}

func GetIndexConfig added in v1.7.0

func GetIndexConfig(
	client *search.APIClient,
	index string,
	scope []string,
	cs *iostreams.ColorScheme,
) (*ExportConfigJSON, error)

Jump to

Keyboard shortcuts

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