 | Level: Intermediate Tyler Anderson (tyleranderson5@yahoo.com), Freelance writer
30 Oct 2007 Apache Lucene is a robust open source search solution for myriad
applications, including your own favorite Web sites or your company's intranet.
Apache Lucene will go out and grab and index pages you specify, allowing you to
search them at will. It also comprises several add-on applications, or subprojects,
including the Apache Solr Enterprise search server. In this tutorial, you'll learn
how to use Apache Solr and integrate it with a Web application. In this tutorial
This tutorial is for developers and IT professionals that would like to use the Apache
Solr enterprise search server as an enterprise-class search engine for the company
intranet or other demanding search engine applications. It is also for those interested
in implementing Apache Solr APIs to integrate new or existing applications with Apache
Solr's searchable index.
Prerequisites
See System requirements below.
System requirements
Besides Apache Solr, this tutorial requires other technologies. For instance, Apache
Solr requires a Web container like Apache Tomcat.
-
Apache Solr
- When it comes to open source enterprise-class search engines, you'll need Lucene,
which Apache Solr is based off of. Apache Solr has extra bells and whistles to make
your enterprise search engine work harder for you. The latest version was 1.2 at the
time of this writing.
-
Apache Tomcat V5.5
- This tutorial will use Apache Tomcat as the servlet container. However, there are
other possibilities, such as Jetty.
-
Apache V2
- This tutorial uses Apache V2 as the hosting server of the Web application you'll
integrate with the Solr APIs.
-
PHP V5
- You'll build a PHP Web application that you'll integrate with the Solr APIs.
-
Web browser
- Mozilla Firefox is recommended.
You'll learn more about installing Apache Solr before you begin using it later in the
tutorial. You do not need to be an expert in Apache or Java™ technology to complete
this tutorial successfully. This tutorial explains how to create a high-performance
search engine using Apache Lucene, Solr, and related projects in a step-by-step manner.
It does not explain the nuances of the Lucene API. developerWorks has published
Apache
Lucene articles that provide extensive
discussions. We recommend starting with these articles if this tutorial skirts
an issue of interest to you.
Formats html, pdf
|  | |  |