When you index a document, it is stored on a single primary shard. How does Elasticsearch know which shard a document belongs to? When we create a new document, how does it know whether it should store that document on shard 1 or shard 2?document를 색인하면, 특정 primary shard에 저장된다. Elasticsearch는 document가 어느 shard에 속해 있는지 어떻게 알까? 새로운 document를 생성하면, document를 shard 1 또는 2 중 어느 shard에 저장하는지 어떻게 알까?Th..