I have a bit of functionality where I occasionally need to refresh
documents so I can guarantee queries actually include recent modifications.
Disclaimer, I'm of course aware that this is not a great practice.
I'm using parent child relations and was wondering if I can restrict the
refresh API to the shard where my child documents live with the parentId.
So, I tried.
This fails with a Mapper exception:
"error": "MapperParsingException[failed to parse, document is empty]",
This succeeds but simply refreshes all the shards instead of just the shard
I want refreshed:
same for POST /myindex/_refresh?routing=myparentId
Is there a way to refresh just the shard with the child documents + parent?
It seems to me that refreshing just one shard would be cheaper.
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d48ee342-41eb-4897-9240-915c8c27ccb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.