es

package
v0.0.0-...-0a5fad8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticSearchIndexer

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

func NewElasticSearchIndexer

func NewElasticSearchIndexer(esNodes []string, syncUpdates bool) (*ElasticSearchIndexer, error)

func (*ElasticSearchIndexer) FindByID

func (i *ElasticSearchIndexer) FindByID(linkID uuid.UUID) (*index.Document, error)

func (*ElasticSearchIndexer) Index

func (i *ElasticSearchIndexer) Index(doc *index.Document) error

func (*ElasticSearchIndexer) Search

func (*ElasticSearchIndexer) UpdateScore

func (i *ElasticSearchIndexer) UpdateScore(linkID uuid.UUID, score float64) error

Jump to

Keyboard shortcuts

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