Documentation ¶
Index ¶
- type BasicIndexer
- func (b *BasicIndexer) GetType() string
- func (b *BasicIndexer) Index(id string, properties common.DomainProperties) error
- func (b *BasicIndexer) Initialize(config config.TaskHandlerOptions, baseFolder string, outputLimit int64) error
- func (b *BasicIndexer) Query(userQuery string) (map[string]float64, error)
- type RandomIndexer
- func (i *RandomIndexer) GetType() string
- func (i *RandomIndexer) Index(id string, properties common.DomainProperties) error
- func (i *RandomIndexer) Initialize(config config.TaskHandlerOptions, baseFolder string, outputLimit int64) error
- func (i *RandomIndexer) Query(userQuery string) (map[string]float64, error)
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
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
Click to show internal directories.
Click to hide internal directories.