5bcda5c9a1
This reverts commit da1e323825
.
18 lignes
534 o
Go
18 lignes
534 o
Go
package config
|
|
|
|
// SearchConfig : Config struct for search
|
|
// Is it deprecated?
|
|
type SearchConfig struct {
|
|
}
|
|
|
|
// DefaultSearchConfig : Default config for search
|
|
var DefaultSearchConfig = SearchConfig{}
|
|
|
|
const (
|
|
// DefaultElasticsearchAnalyzer : default analyzer for ES
|
|
DefaultElasticsearchAnalyzer = "nyaapantsu_analyzer"
|
|
// DefaultElasticsearchIndex : default search index for ES
|
|
DefaultElasticsearchIndex = "nyaapantsu"
|
|
// DefaultElasticsearchType : Name of the type in the es mapping
|
|
DefaultElasticsearchType = "torrents"
|
|
)
|