made indexAll and retagAll atomic and faster
This commit is contained in:
parent
1fdacd8a93
commit
5649acf6a8
6 changed files with 131 additions and 64 deletions
|
|
@ -18,8 +18,10 @@ const (
|
|||
const blevePath = "bleve"
|
||||
|
||||
type DB struct {
|
||||
store store.Store
|
||||
Index *index.Index
|
||||
rm countMutex
|
||||
IndexMutex countMutex
|
||||
store store.Store
|
||||
Index *index.Index
|
||||
}
|
||||
|
||||
func New(cfg core.Config) (db *DB, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue