Reputation: 451
I'm trying to split my solrcloud collection into shards based on date field. ie, Documents should be routed to different shards based on the year in the date field. As of now im using compositeid sharding. How can i approach this ?
Upvotes: 0
Views: 429
Reputation: 15789
then you just use the following compositeId:
Upvotes: 1