Apache Solr Solr is a search engine platform based on Apache Lucene. It is written in Java and uses the…