meilisearch

package
v3.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meilisearch

type Meilisearch struct {
	Client               *meilisearch.Client
	IndexUid             string
	FilterableAttributes []string
	SearchableAttributes []string
}

func (*Meilisearch) BatchIndex

func (m *Meilisearch) BatchIndex(ctx context.Context, nodes []model.SearchNode) error

func (*Meilisearch) Clear

func (m *Meilisearch) Clear(ctx context.Context) error

func (*Meilisearch) Config

func (m *Meilisearch) Config() searcher.Config

func (*Meilisearch) Del

func (m *Meilisearch) Del(ctx context.Context, prefix string) error

func (*Meilisearch) DelDirChild

func (m *Meilisearch) DelDirChild(ctx context.Context, prefix string) error

func (*Meilisearch) Get

func (m *Meilisearch) Get(ctx context.Context, parent string) ([]model.SearchNode, error)

func (*Meilisearch) Index

func (m *Meilisearch) Index(ctx context.Context, node model.SearchNode) error

func (*Meilisearch) Release

func (m *Meilisearch) Release(ctx context.Context) error

func (*Meilisearch) Search

func (m *Meilisearch) Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL