Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BM25Parameters ¶
type Cluster ¶
type Cluster struct { ShardingNum int `yaml:"ShardingNum"` ReplicateNum int `yaml:"ReplicateNum"` ManageServer Server `yaml:"ManageServer"` SearchServer []Server `yaml:"SearchServer"` DataServer []Server `yaml:"DataServer"` }
func InitClusterConfig ¶
type Config ¶
type Config struct { Store Storage `yaml:"Storage"` BM25 BM25Parameters `yaml:"BM25"` Server Server `yaml:"Server"` Cluster Cluster `yaml:"Cluster"` }
func InitConfig ¶
Click to show internal directories.
Click to hide internal directories.