Skip to content

distinct attribute in getMeilisearchResults is lost  #1317

@thomas-lcdp

Description

@thomas-lcdp

Description
distinct attribute passed in function getMeilisearchResults from autocomplete-client is lost when request meilisearch service.

Expected behavior
distinct attribute is propagated to request

Screenshots or Logs
image
In generated autocomplete-client.umd.js, I added a console.log in function fetchMeilisearchResults to display the queries.
We can see in console the distinct attribute is well present.

In network, we see the request send to meilisearch service and the distinct attribute has disappear.

Environment:

  • OS: MacOS
  • Browser: Brave Version 1.68.134 Chromium: 127.0.6533.88
  • Meilisearch version: v1.9
  • instant-meilisearch version: 0.19.2
  • autcomplete-client version: 0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions