原网址: http://wiki.apache.org/nutch/Nutch_-_The_Java_Search_Engine
3.3 Configuring the Nutch Web Application
The search web application is included in your downloaded Nutch archive. In order for the nutch search web application to function properly, it needs to know where to find the indexes. We need to map our indexes by editing the ‘nutch-site.xml’ file.
The steps to follow would be;
- Deploy the Nutch web application as the ROOT context
- It is not clear why the developers designed the application to run in the root context. However it is possible to modify the application to enable it to be deployed normally.
- In the web application deployment directory, open the '/WEB-INF/classes/nutch-site.xml' file in a text editor.
- Change the values of the tags as follows and save the changes.
-
<property> <name>searcher.dir </name> <value>/home/tyrell/nutch-0.7/crawl.virtusa </value> </property>
-
- Re-start Tomcat
更新索引库的方法:
3.5 Maintaining Our Index .......... (见原文,网址如上)
本文介绍如何配置Nutch搜索引擎的Web应用程序,并确保其正确地指向已建立的索引位置。此外,还介绍了部署Nutch Web应用的过程及修改配置文件的具体步骤。

886

被折叠的 条评论
为什么被折叠?



