some improvements
This commit is contained in:
parent
3c5be25cb3
commit
58a0dc36d5
25 changed files with 233 additions and 105 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue