Create routes for custom routing

Hi! I'm pretty new with elastic search and now exploring custom-routing, so I need a piece of advice. I need to create an index which will contain a field clientID and some related data with it. I want to create a custom route based on its clientID like doing a modulus operation with 7 on clientID and create a route with the outcome of modulus operation but the problem is clientID is a mongoID type field. So What can I do in that case?
Any suggestions will be appreciated and please let me know If you something didn't add up right in my question.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.