some improvements

This commit is contained in:
ston1th 2019-08-26 19:58:31 +02:00
commit 58a0dc36d5
25 changed files with 233 additions and 105 deletions

View file

@ -78,7 +78,7 @@ func (i *Index) Add(text string, tags []string) (id string, err error) {
return
}
func (i *Index) Reindex(id string, doc *Document) error {
func (i *Index) Update(id string, doc *Document) error {
return i.i.Index(id, doc)
}