config

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRules

func GetRules(srcIndex *search.Index) ([]search.Rule, error)

func GetSynonyms

func GetSynonyms(srcIndex *search.Index) ([]search.Synonym, error)

Types

type ExportConfigJson

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

func GetIndiceConfig

func GetIndiceConfig(indice *search.Index, 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