indexers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicIndexer

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

func (*BasicIndexer) GetType

func (b *BasicIndexer) GetType() string

func (*BasicIndexer) Index

func (b *BasicIndexer) Index(id string, properties common.DomainProperties) error

func (*BasicIndexer) Initialize

func (b *BasicIndexer) Initialize(config config.TaskHandlerOptions, baseFolder string, outputLimit int64) error

func (*BasicIndexer) Query

func (b *BasicIndexer) Query(userQuery string) (map[string]float64, error)

type RandomIndexer

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

func (*RandomIndexer) GetType

func (i *RandomIndexer) GetType() string

func (*RandomIndexer) Index

func (i *RandomIndexer) Index(id string, properties common.DomainProperties) error

func (*RandomIndexer) Initialize

func (i *RandomIndexer) Initialize(config config.TaskHandlerOptions, baseFolder string, outputLimit int64) error

func (*RandomIndexer) Query

func (i *RandomIndexer) Query(userQuery string) (map[string]float64, error)

Jump to

Keyboard shortcuts

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