Add unique element for array type #568
Locked
intoxicated
started this conversation in
Feedback & Feature Proposal
Replies: 2 comments 1 reply
-
or maybe like https://discuss.elastic.co/t/how-to-update-a-object-within-array-in-elastic-search/20115/8 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @intoxicated Sorry, this is not possible at the moment. We appreciate your feedback, and we would include this in this existing discussion as part of our efforts to centralize feedback on this topic. Thank you very much. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to migrate from Algolia to meilisearch, but I have been struggling to find a way to add unique element to array type.
For instance, let's say I have a document following:
and later I want to add some element to
colors
field but I wouldn't know which colors are already presented in the property unless I get the document first.Algolia provides a way to add unique element to array field with batch like
so this document will attempt to update existing document's
colors
field withred
. Since,red
is already present, it won't do anything. Does meilisearch provide somewhat similar feature? if not, what's best way to update array instead update whole propertyBeta Was this translation helpful? Give feedback.
All reactions