createIndex primaryKey option has no effect (JS SDK 0.55.0, Meilisearch 1.35.0) #881
Closed
matthiasmoke
started this conversation in
Cloud Feedback
Replies: 1 comment
-
|
Hello @matthiasmoke can you open an issue in the appropriate repository instead: https://github.com/meilisearch/meilisearch-js Thanks for the report 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
We’ve encountered an issue when creating a new index in Meilisearch Cloud using the JavaScript SDK.
When setting the primaryKey option in createIndex, it appears to have no effect:
Environment:
JS SDK version: 0.55.0
Meilisearch version: 1.35.0 (Cloud)
The index is created successfully, but the primaryKey is not set. As a workaround, we currently push a dummy document to the empty index, using the primary key request parameter.
We just recently switched to the cloud offering. Previously this worked as expected with an older self-hosted version (1.22.x).
Could you please confirm whether this is a known issue or a change in behavior in newer versions?
Beta Was this translation helpful? Give feedback.
All reactions