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_analyzed","omit_norms":true,"index_options":"docs"}
      }
  }
}

{
  "player": {
      "_routing": {
          "required":true,
          "path":"account"
      },
      "properties": {
          
{"type":"string","index":"not_analyzed","omit_norms":true,"index_options":"docs"}
  
   
      }
  }
}

Ok, so with this, I'm hoping to have items indexed on the same shard as 
their parents.

But when I try to save an item, I get this error:

*External routing [1] and document path routing [Frank1234r] mismatch*

*Frank1234r *is the account name, and *1 *is the id of the player with the 
name.

What do I need to do to fix that? What the "external routing" exactly? 
Thanks!

-- 
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/46a626e8-abed-4e13-9e33-3f42a1f379a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to