In a word: No. You want to run it separately. You will want to separate the jvms from zookeeper and solr so they are running apart from each other. If you have problems with your jvm from solr from any multitude of reasons, you are going to impact zookeeper if it's embedded. And you don't want to do that because your zookeeper needs to keep in touch with the servers and the other zookeepers for the cluster to perform right. Better to keep a single failure just that and not risk the cluster itself.
Have more questions? Submit a request