In this section we walk through the basic Lucene demo and executing it. This section is intended for anyone who wants a basic background on using the provided Lucene demos.
In this section we walk through installing and configuring the template web application. While this walkthough assumes Tomcat 4.0.x as your container of choice, there is no reason you can't (provided you have the requisite knowledge) adapt the instructions to your container. This section is intended for those responsible for the development or deployment of Lucene-based web applications.
In this section we walk through the sources used to construct the template web application. Please note the template application is designed to highlight features of Lucene and is not an example of best practices. (One would hopefully use MVC architecture such as provided by Jakarta Struts and taglibs, or better yet XML with stylesheets, but showing you how to do that would be WAY beyond the scope of this demonstration. Additionally once could cache results, and perform other performance optimizations, but those are beyond the scope of this demo).
This section is intended for developers and those wishing to customize the template web application to their needs. The sections useful to developers only are clearly delineated.
下载一个Lucene的src包,解开,在docs目录翻出index.html文件 仔细搜索一番,文档还是蛮详细的,好,学习就从这份文档的线索开始: Each section listed below builds on one another. That being said more advanced users may wish to skip sections. 由简入繁,我们