Compare commits

..

No commits in common. "master" and "v0.0.3" have entirely different histories.

1 changed files with 0 additions and 16 deletions

View File

@ -18,22 +18,6 @@ func (i *Index) AddDocuments(docs interface{}) error {
return err return err
} }
func (i *Index) UpdateDocuments(docs interface{}) error {
_, err := getIndex(i.Name).UpdateDocuments(docs)
if err != nil {
logger.Error("update documents", logger.LogData{
Source: "meilisearch.index.UpdateDocuments",
Message: err.Error(),
Data: logger.Map{
"index": i,
"docs": docs,
},
})
}
return err
}
func (i *Index) DeleteDocumentsByPrimaryKeys(keys []string) error { func (i *Index) DeleteDocumentsByPrimaryKeys(keys []string) error {
_, err := getIndex(i.Name).DeleteDocuments(keys) _, err := getIndex(i.Name).DeleteDocuments(keys)
if err != nil { if err != nil {