Record statistics on how many bookmarks and words are indexed, and the number of searches performed.

This commit is contained in:
2022-08-20 23:44:47 +09:30
parent c5957e38db
commit ccf373b863
6 changed files with 144 additions and 7 deletions

View File

@@ -179,6 +179,8 @@ func (m *BookmarkManager) Search(opts SearchOptions) ([]entity.Bookmark, error)
panic(err)
}
m.db.IncrementSearches()
return out, nil
}