Could you help me, I have a full hard drive and it's taking up a lot of space in the solr directory
I don't know if I can remove it directly or how I should proceed.
You might want to take a look at the following article on Ambari-infra-Solr best practices.
This article has a dedicated section for the Disk Space the TTL settings.
Also the following Ambari Infra doc provides some good insight on this: https://docs.cloudera.com/HDPDocuments/Ambari-188.8.131.52/using-ambari-core-services/content/amb_tuning_...