Documentation ¶
Index ¶
- type InMemoryIndexer
- func (i *InMemoryIndexer) Close() error
- func (i *InMemoryIndexer) FindByID(linkID uuid.UUID) (*indexer.Document, error)
- func (i *InMemoryIndexer) Index(doc *indexer.Document) error
- func (i *InMemoryIndexer) Search(sq indexer.Query) (indexer.Iterator, error)
- func (i *InMemoryIndexer) UpdateScore(linkID uuid.UUID, score float64) error
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) UpdateScore ¶
func (i *InMemoryIndexer) UpdateScore(linkID uuid.UUID, score float64) error
Click to show internal directories.
Click to hide internal directories.