Showcase
Sample Applications
Image Search OCR - Delivery Scanner
This app lets you scan a shipping label with your phone and sends a Slack message to the recipient of the package
INSTALL
1go get github.com/algolia/algoliasearch-client-go/v3@v3.Y.Z
INDEX
1type Contact struct { 2 ObjectID string `json:"objectID"` 3 Firstname string `json:"firstname"` 4 Lastname string `json:"lastname"` 5} 6 7contacts := []Contact{ 8 {ObjectID: "myID1", Firstname: "Jimmie", Lastname: "Barninger"}, 9 {ObjectID: "myID2", Firstname: "Ray", Lastname: "Charles"}, 10} 11 12res, err := index.SaveObjects(contacts)
SEARCH
1params := []interface{}{ 2 opt.AttributesToRetrieve("firstname", "lastname"), 3 opt.HitsPerPage(50), 4} 5 6res, err := index.Search("jimmie paint", params...)