How can I add or delete elements from an array without having to query the document to update them programmatically (modifying the queried document to update the array with a back-end language)?
Hey Lautaro! You're correct that we don't have any APIs specifically for pushing onto existing arrays. You do need to first GET the document/field that you want to update & modify it manually or on your own server before updating/PATCHing the document.
Apologies I couldn't be more helpful - I can definitely bring this feedback to the team if there's more demand for tools and helpers for working with more complex types!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.