To enable document routing, use document ID as string in format:
shard_key!document_id
Documents with the same shard key will be stored in the same index segment(s), which will speed up searching when you enable routing in your query:
_route_=1234! # userId is 1234; do not forget to include the exclamation mark
Articles on Lucidworks.com and Solr documentation