boltdb

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltStore

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

func NewBoltStore

func NewBoltStore(db *bbolt.DB) (*BoltStore, error)

func (*BoltStore) AddDocument

func (b *BoltStore) AddDocument(counts map[string]uint) error

func (*BoltStore) Close

func (b *BoltStore) Close() error

func (*BoltStore) DocumentCount

func (b *BoltStore) DocumentCount() (uint, error)

func (*BoltStore) TermOccurrences

func (b *BoltStore) TermOccurrences(text string) (uint, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL