github meilisearch/meilisearch-go v0.24.0
v0.24.0 🐹

latest releases: v0.36.3, v0.36.2, v0.36.1...
3 years ago

This version introduces features released on Meilisearch v1.1.0 🎉
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.

🐛 Bug Fixes

⚠️ Breaking changes

  • Add the ability to provide a specific csv-delimiter when adding and updating documents in CSV format (#424) @alallema
    • New type CsvDocumentsQuery{}
    • Changed AddDocumentsCsv() which takes CsvDocumentsQuery as a parameter instead of a ...string
    • Changed AddDocumentsCsvInBatches() which takes CsvDocumentsQuery as a parameter instead of a ...string
    • Changed UpdateDocumentsCsv() which takes CsvDocumentsQuery as a parameter instead of a ...string
    • Changed UpdateDocumentsCsvInBatches() which takes CsvDocumentsQuery as a parameter instead of a ...string

🚀 Enhancements

  • Add FacetStats field in SearchResponse (#423) @alallema
  • New method client.MultiSearch() provides the possibility to make multiple requests at once (#422) @alallema

Example:

  client.MultiSearch(&MultiSearchRequest{
    Queries: []SearchRequest{
      {
        IndexUID: "movies",
        Query:    "pooh",
        Limit:    5,
      },
      {
        IndexUID: "movies",
        Query:    "nemo",
        Limit:    5,
      },
      {
        IndexUID: "movie_ratings",
        Query:    "us",
      },
    },
  })

Thanks again to @alallema, @candiduslynx ! 🎉

Don't miss a new meilisearch-go release

NewReleases is sending notifications on new releases.