Thanks for the reply. I still am not sure I understand the distinction between routing and parent. This document is part of a parent->child relationship and at index time I specify "parent" not "routing". It seems odd that at retrieval time (and only for the mlt API) routing is required.
On Thursday, March 6, 2014 4:37:55 PM UTC-5, Binh Ly wrote: > > They are are actually two different things. parent is to identify parents > for parent-child relationships. routing is to tell ES to shortcut the > search/indexing only to a specific shard. > > It's interesting that the second call works (it must have been implemented > for convenience) but in general if you're indexing or searching, I'd use > routing. If you are indexing a child document, then use parent to point to > its parent document. > -- 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/30c2463b-ea7e-430a-b43c-d5461727c763%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
