Both Solr and ZooKeeper has dataDir. Solr uses dataDir to store indexes while ZooKeeper documentation says its dataDir parameter is used for storing the in-memory database snapshots.
I know ZooKeeper is the service that is used to maintain configuration information and distributed synchronization across Solr. So, what exactly ZooKeeper dataDir is used for, is it stores the indexes of Solr cluster too or not.