added stats page and password reset

This commit is contained in:
ston1th 2019-11-24 12:25:19 +01:00
commit cabc3e94b4
55 changed files with 8094 additions and 4362 deletions

View file

@ -66,6 +66,11 @@ func (i *Index) Close() error {
return i.i.Close()
}
func (i *Index) DocCount() (c uint64) {
c, _ = i.i.DocCount()
return
}
func (i *Index) Add(text string, tags []string) (id string, err error) {
id = newID()
for {