Re: External routing [76] and document path routing [khabar] mismatch

2014-03-15 Thread Robin Boutros
I actually managed to make it work, by providing the routing as a query parameter when indexing my items. On Thursday, March 13, 2014 10:36:24 PM UTC-4, Robin Boutros wrote: > > Something to add: > > When I index an item, I reference his parent with its id, not his account > name. Is that part o

Re: External routing [76] and document path routing [khabar] mismatch

2014-03-13 Thread Robin Boutros
Something to add: When I index an item, I reference his parent with its id, not his account name. Is that part of the problem? Can I use the account to set the item's parent when indexing it? And if so, how would elasticsearch know that I'm using this field? On Thursday, March 13, 2014 10:30:1

External routing [76] and document path routing [khabar] mismatch

2014-03-13 Thread Robin Boutros
Hey, I have a parent/child relationship between Item and Player. { "item": { "_parent": { "type": "player" }, "_routing": { "required":true, "path":"account" }, "properties": { "account":{"type":"string","index":"not_analyz