Install solr-tomcat by entering the following commands in the terminal:
sudo apt update sudo apt install solr-tomcat
Description:
Enterprise search server based on Lucene3 - Tomcat integration
Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Tomcat. . This package provides the Tomcat integration files for Solr.
Homepage: http://lucene.apache.org
Version: 3.6.2+dfsg-11
Section: universe/java