mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 05:51:33 -05:00
13 lines
559 B
Go
13 lines
559 B
Go
package config
|
|
|
|
// Engine defines which search engine to use
|
|
type Engine struct {
|
|
Type string `yaml:"type" env:"SEARCH_ENGINE_TYPE" desc:"Defines which search engine to use. Defaults to 'bleve'. Supported values are: 'bleve'."`
|
|
Bleve EngineBleve `yaml:"bleve"`
|
|
}
|
|
|
|
// EngineBleve configures the bleve engine
|
|
type EngineBleve struct {
|
|
Datapath string `yaml:"data_path" env:"SEARCH_ENGINE_BLEVE_DATA_PATH" desc:"The directory where the filesystem will store search data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/search."`
|
|
}
|