Hi, I'm pretty new to ElasticSearch and am starting to look into custom
routing. I'd like to use my user's usernames as the routing key, as a
frequent operation will be to find a particular user's content.
I'm sending the routing value along with each indexing call, and this is
all fine apart from the update API (my application lets users change their
username, so I need to be able to update all content with a certain
username). I can specify the routing key in the update call, however this
obviously finds the document to be updated, rather than letting me update
the routing.
Is there any way to update a document's routing value without deleting and
re-indexing manually? I understand that _update essentially reindexes the
document anyway, but doing so without resending the entire document would
be good.
Thanks for any pointers.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ddfaa9ec-7b9e-4ede-b2fc-9fd81c85fffc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.