index

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeiliConnector

type MeiliConnector interface {
	AddDocumentsWithPrimaryKey(documentsPtr interface{}, primaryKey string) (resp *meilisearch.AsyncUpdateID, err error)
	UpdateAttributesForFaceting(request *[]string) (resp *meilisearch.AsyncUpdateID, err error)
}

type MeiliIndexer

type MeiliIndexer interface {
	AddDocuments(documents []*entity.Item) error
	UpdateAttributesForFaceting() error
}

type MeiliIndexerImpl

type MeiliIndexerImpl struct {
	// contains filtered or unexported fields
}

func NewMeili

func NewMeili(index MeiliConnector) *MeiliIndexerImpl

func (*MeiliIndexerImpl) AddDocuments

func (m *MeiliIndexerImpl) AddDocuments(documents []*entity.Item) error

func (*MeiliIndexerImpl) UpdateAttributesForFaceting

func (m *MeiliIndexerImpl) UpdateAttributesForFaceting() error

Jump to

Keyboard shortcuts

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