I had though that "parent" and "routing" were interchangeable and parent
was preferred when identifying child documents. However I've noticed that
the _mlt endpoint only seems to accept routing.
/test_index/test_type/text/mydoc?routing=mydoc
# Expected document
/test_index/test_type/text/mydoc?parent=mydoc
# Expected document
/test_index/test_type/text/mydoc/_mlt?routing=mydoc
# Expected results
/test_index/test_type/text/mydoc/_mlt?parent=mydoc
# {"error":"RoutingMissingException[routing is required for
[test_index]/[test_type]/[mydoc]]","status":400}
Is this distinction intentional? I am using 1.0.1
-brian
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/44b646a4-a2f0-4363-9bbe-34c91697157a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.