Using "." within document IDs #638
Replies: 1 comment 2 replies
-
Hello @louisifn 👋 For reference, the currently accepted format for document ID is described here: https://docs.meilisearch.com/learn/core_concepts/primary_key.html#formatting-the-document-id The decision to restrict the document ID format pre-exists my joining the team, but I think the last time we discussed this, one reason was that we didn't want users to have to handle url-encoding the document id to retrieve a document by id. That reason doesn't explain why Document ID format is something I'd personally like us to revisit at some point in the future, to capture using URIs as document ID, notably. In the meantime, a workaround I used when storing paths as document ID is to base64-encode them and store the base64 encoding instead of the path as document ID (you have to be careful to remove or replace some characters like |
Beta Was this translation helpful? Give feedback.
-
I am using Meilisearch with Firestore and have a collection of documents with a web domain as a document ID.
By utilising a web domain as an ID, there is no duplicated data. However, by using a domain as a DocumentID I cannot use this collection with Meilisearch due to the restriction on utilising "." within the documentID.
Is anyone else struggling with this and is it something that can be amended within Meilisearch?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions