Apache Solr Enterprise Search

Many decisions arise when building large ERP applications that can impact how much the application can help the business run more smoothly. Choosing the correct search platform is one of these that often goes overlooked. Whether the end user is querying the system for a product, customer, order, return or web page, you need to have quick and relevant results. Search functionality is used extensively by end users and they are accustomed to the time and quality of results from Google or Bing.

Expectations From The End User
To meet the expectations of today’s users, your search solution needs to be:
1. Easy to Use
2. Scalable
3. Quick
4. Relevant

When an end user comes to a search form, they are asking a question and the results that are returned are the answer to the question. The user expects the most relevant answers. When a user hits the search page of an application, they expect a single field to enter one or more keywords, similar to a web search on Google or Bing. So the biggest challenge here is to give them a similar experience. The user expects:
1. The search form should not be complex, i.e. one input field should be enough to search something
2. The user expects auto suggestions for incomplete phrases
3. “Did you mean?” is expected if something is mistyped
4. No downtime, your search platform is expected to be available all the time
5. Quick results are expected
6. Most importantly, most relevant results are expected

Apache Solr From The Apache Lucene Project
To address enterprise search requirements, one option is the widely accepted framework Apache Solr which is a popular, blazing fast open source enterprise search platform from the Apache Lucene project.

This open source enterprise search platform helps by addressing most of the needs that we have seen. Here are some important features of Apache Solr:
1. Quick and Easy to Deploy. Being open source it is easy to download, install, and configure. It also comes with a pre-configured example to help getting started.
2. Scalable. Solr scales by distributing work to multiple servers in a cluster.
3. Optimized. Solr can execute complex queries really quickly.
4. Relevant Results. Solr is capable of returning you the most relevant results to each user query.
5. Dedicated Community. Top class community support which assures a quality project.

We could list many more features, but in short, using Apache Solr can help you give a rich enterprise search experience to your users. As you start exploring Apache Lucene/Solr you will find more and more reasons to choose this search platform.

You can find out more about this enterprise search platform on the project’s page here http://lucene.apache.org/solr/. In an upcoming post, we will see how can we make Apache Solr work with the Apache OFBiz framework to leverage the search capabilities Solr is offering.

Thanks for taking the time to read this post.

Keep Learning…

DATE: Jun 06, 2014
AUTHOR: Pranay Pandey
OFBiz Tutorials, hotwax media, OFBiz Development, Apache OFBiz, Enterprise Search, Apache Lucene, Apache Solr, Enterprise ERP, ERP, OFBiz