Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@

## Table of Contents

- [Table of Contents](#table-of-contents)
- [📖 Documentation](#-documentation)
- [🔧 Installation](#-installation--120)
- [🔧 Installation (\>= 1.20)](#-installation--120)
- [🚀 Getting started](#-getting-started)
- [Add documents](#add-documents)
- [Basic search](#basic-search)
- [Custom search](#custom-search)
- [Custom search with filter](#custom-search-with-filters)
- [Customize client](#customize-client)
- [Make SDK Faster](#make-sdk-faster)
- [Add documents](#add-documents)
- [Basic Search](#basic-search)
- [Custom Search](#custom-search)
- [Custom Search With Filters](#custom-search-with-filters)
- [Customize Client](#customize-client)
- [Make SDK Faster](#make-sdk-faster)
- [🤖 Compatibility with Meilisearch](#-compatibility-with-meilisearch)
- [⚡️ Benchmark performance](#-benchmark-performance)
- [⚡️ Benchmark Performance](#-benchmark-performance)
- [💡 Learn more](#-learn-more)
- [⚙️ Contributing](#️-contributing)

Expand Down Expand Up @@ -93,7 +94,7 @@ func main() {
{ "id": 5, "title": "Moana", "genres": []string{"Fantasy", "Action"} },
{ "id": 6, "title": "Philadelphia", "genres": []string{"Drama"} },
}
task, err := index.AddDocuments(documents)
task, err := index.AddDocuments(documents, nil)
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// {"id": 5, "title": "Moana", "genres": []string{"Fantasy", "Action"}},
// {"id": 6, "title": "Philadelphia", "genres": []string{"Drama"}},
// }
// task, err := idx.AddDocuments(documents)
// task, err := idx.AddDocuments(documents, nil)
// if err != nil {
// fmt.Println(err)
// os.Exit(1)
Expand Down
Loading