Documentation ¶ Index ¶ type BoltStore func NewBoltStore(db *bbolt.DB) (*BoltStore, error) func (b *BoltStore) AddDocument(counts map[string]uint) error func (b *BoltStore) Close() error func (b *BoltStore) DocumentCount() (uint, error) func (b *BoltStore) TermOccurrences(text string) (uint, error) 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 ¶ View all Source files boltstore.go Click to show internal directories. Click to hide internal directories.