Documentation ¶
Index ¶
- Constants
- Variables
- func NewBleve(conf *conf.Searcher_Data, app *libapp.Settings) (bleve.Index, error)
- func NewMeili(conf *conf.Searcher_Data, app *libapp.Settings) (*meilisearch.Client, error)
- func NewSearcherRepo(b bleve.Index, m *meilisearch.Client, sf *sonyflake.Sonyflake) (biz.SearcherRepo, error)
- func NewSnowFlake() *sonyflake.Sonyflake
Constants ¶
View Source
const IndexName = "default"
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSearcherRepo, NewSnowFlake, NewBleve, NewMeili)
ProviderSet is data providers.
Functions ¶
func NewBleve ¶ added in v0.0.9
func NewBleve(conf *conf.Searcher_Data, app *libapp.Settings) (bleve.Index, error)
func NewMeili ¶ added in v0.1.4
func NewMeili(conf *conf.Searcher_Data, app *libapp.Settings) (*meilisearch.Client, error)
func NewSearcherRepo ¶ added in v0.0.2
func NewSearcherRepo(b bleve.Index, m *meilisearch.Client, sf *sonyflake.Sonyflake) (biz.SearcherRepo, error)
func NewSnowFlake ¶ added in v0.0.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.