I have made a web application and now I would like to add a search option to it.Since it is a learning project, I can't afford to buy some Google license. That is why I consider creating my own search engine.From what I have read, there are two major ways to do it: using Apache Lucene or using Apache Solr. I have read a bit about both, but I really don't understand what is the difference between them. Which one should I choose?I am looking for something free which is easy to learn and use, so you have other suggestions please let me know.
Custom search engine
search
Lucene is a search engine and Solr is a search application.With search engine you have to create everything from scratch, with search application you have everything out of the box.Lucene is more shared-hosting friendly.You can create a basic search engine (without scoring, faceted search, etc) in an hour or two.If your hosting provider allows you to install Solr, go for it.Otherwise Lucene should be just fine.Solr is built on top of Lucene so everything you can do with Solr can be done with Lucene and few extra lines of code.