Documentation ¶
Index ¶
- func New(cfg search.Config) (search.Searcher, error)
- type MeiliSearch
- func (m *MeiliSearch) Add(index string, primaryKey string, docs ...interface{}) error
- func (m *MeiliSearch) Delete(index string, ids ...string) error
- func (m *MeiliSearch) DeleteIndex(index string) error
- func (m *MeiliSearch) Flush() error
- func (m *MeiliSearch) GetTask(index string, taskUID int64) error
- func (m *MeiliSearch) InitIndex(cfg *search.IndexConfig) error
- func (m *MeiliSearch) Search(index string, keywords string, options *search.SearchRequest) (int64, []echo.H, error)
- func (m *MeiliSearch) Update(index string, primaryKey string, docs ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MeiliSearch ¶
type MeiliSearch struct {
meilisearch.ServiceManager
}
func (*MeiliSearch) Add ¶
func (m *MeiliSearch) Add(index string, primaryKey string, docs ...interface{}) error
func (*MeiliSearch) DeleteIndex ¶
func (m *MeiliSearch) DeleteIndex(index string) error
func (*MeiliSearch) Flush ¶
func (m *MeiliSearch) Flush() error
func (*MeiliSearch) InitIndex ¶
func (m *MeiliSearch) InitIndex(cfg *search.IndexConfig) error
Click to show internal directories.
Click to hide internal directories.