Can I customize Lucene built-in to Solr?
Yes you can . But keep this in mind:
Communicators Lucene and Solr are among the leading experts in the field of full-text search. They have many years of experience in this field. If you think you can do better than them, then go and change Solr to your needs (this is an Apache license so that there are no commercial restrictions), and if you do, try to do this in order to subsequently contribute to come back to the project so that everyone can benefit, and the project is moving forward.
However, for the vast majority of Solr users, inventory is more than enough and satisfies all needs.
In other words, before proceeding to change the code, ask on the mailing list (stackoverflow or solr-user), there is a good chance that you really do not need to change any code.
"Quick search with indexing and interleaving terabytes of data" is exactly what Solr was created for. This would be a bad case of Not-Invented - here not to use it or any other similar solutions, such as ElasticSearch, Sphinx, Xapian, etc. If you think that you need to configure or expand the search server in any, consider the license and the base code of each of them. Solr and ElasticSearch are licensed as Apache, so they have no commercial restrictions and are based on the well-known Lucene library.
source share