Hi, Kindly provide you valuable suggestions.
Thanks, Modassar On Tue, 5 Mar 2024 at 7:14 PM, Modassar Ather <[email protected]> wrote: > Hi, > > As it is required for the documents of the same group to be co-located on > the same shard for grouping and faceting on SolrCloud I am using a document > router with a unique family id and document id when indexing. i.e > *familyId!documentId* > > Recently I had to add new data into the index for which I need to combine > the main document with these new documents associated. > As the main documents are inflated with every occurrence of the new > document set it creates duplicates so to accommodate it I am adding the new > document's id to the routing field. i.e > *familyId!documentId!newDocumentId.* > With the new id I notice that few documents belonging to the same family > are going to different shards. > > Please help me understand if I am doing something wrong and share your > suggestions to fix it. > > Thanks, > Modassar >
