Documentation ¶
Overview ¶
Package boltdb implements a store.KVStore on top of BoltDB. It supports the following options:
"bucket" (string): the name of BoltDB bucket to use, defaults to "bleve".
"nosync" (bool): if true, set boltdb.DB.NoSync to true. It speeds up index operations in exchange of losing integrity guarantees if indexation aborts without closing the index. Use it when rebuilding indexes from zero.
Index ¶
Constants ¶
View Source
const Name = "boltdb"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) PrefixIterator ¶
func (r *Reader) PrefixIterator(prefix []byte) store.KVIterator
func (*Reader) RangeIterator ¶
func (r *Reader) RangeIterator(start, end []byte) store.KVIterator
Click to show internal directories.
Click to hide internal directories.