mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-25 22:19:22 -06:00
* experimental search backport fix basic extractor resource name move escapeQuery regex into global variable minor pr review changes rename DebounceDuration env variable add document title and content when rebuilding bleve resource Co-authored-by: David Christofas <dchristofas@owncloud.com>
13 lines
413 B
Go
13 lines
413 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."`
|
|
Bleve EngineBleve `yaml:"bleve"`
|
|
}
|
|
|
|
// EngineBleve configures the bleve engine
|
|
type EngineBleve struct {
|
|
Datapath string `yaml:"data_path" env:"SEARCH_ENGINE_BLEVE_DATA_PATH" desc:"Path for the search persistence directory."`
|
|
}
|