The routing parameter just ensures that documents with the same parameter will be indexed in the same shard, it does not act as a filter or namespace. As it is common to have a lot more routing values than shards, documents with numerous different routing values will share a shard. If you specify a routing parameter when searching, this will determine which shard that will be serached, but will not filter documents using the routing number, which means you could find other documents unless you also add a filter.
Document ids are also unique per shard, not routing id. If routiong id 1 and 12343434 happen to resolve to the same shard what you are seeing is expected.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.