memory

package
v0.0.0-...-e97be17 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryIndexer

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

func NewInMemoryBleveIndexer

func NewInMemoryBleveIndexer() (*InMemoryIndexer, error)

func (*InMemoryIndexer) Close

func (i *InMemoryIndexer) Close() error

func (*InMemoryIndexer) FindByID

func (i *InMemoryIndexer) FindByID(linkID uuid.UUID) (*indexer.Document, error)

func (*InMemoryIndexer) Index

func (i *InMemoryIndexer) Index(doc *indexer.Document) error

func (*InMemoryIndexer) Search

func (*InMemoryIndexer) UpdateScore

func (i *InMemoryIndexer) 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