ElasticSearch parent/child on different indexes -


have 2 objects: humans , belongings. want specify _parent of belonging specific human. elasticsearch provides ability via _parent mapping. documentation , examples i've found doing within same index.

but if had humans index, , belongings index, i'm wondering if able specify parent relationship across indexes. preliminary tests seem point no.

furthermore, theory cannot because result in human being on different shard belonging (different indexes, different shards). know documentation human id used route child (upon indexing) same shard human. efficiency purposes (in memory joins, round trips, etc). cannot occur since we're talking different shards altogether.

question #1: know if _parent can specified across indexes?

and if so,

question #2: how routing issues mentioned resolved internally?

you correct in saying "different index, different shard" - meaning answer question #1 no. that, #2 cannot answered.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -