Howtoforge published a tutorial about installing Apache Solr on Ubuntu 22.04.
How to Install Apache Solr on Ubuntu 22.04
Solr is a free, open-source, and very popular tool used for search and real-time indexing.

How to Install Apache Solr on Ubuntu 22.04