Nitin Borwankar wrote:

Justin Hartman wrote:

Hi guys

I have my nutch system working pretty reasonably I think and I am
quite happy with the way it is fetching, crawling and indexing. I do
have a problem however in that I can not figure out how to make the
http searches pull data from the index.



[....]

Hi Justin,

IIRC, the tutorial requires you to start the tomcat instance so it knows where your index is. Are you starting tomcat from the directory that has your index (the suggested way in the tutorial) ? Or are you indicating to the search servlet the location of your index in some other way?

Nitin

http://today.java.net/pub/a/today/2006/02/16/introduction-to-nutch-2.html
shows how to set the index dir in nutch-site.xml So either you need to do this or start tomcat from the index dir.

|<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="nutch-conf.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<nutch-conf>
<property>
<name>searcher.dir</name>
<value>/Users/tom/Applications/nutch-0.7.1/crawl-tinysite</value>
</property>
</nutch-conf>|




--
Nitin Borwankar
Find, Learn, Act .... Greener, the search engine for the planet
http://greener.com
[EMAIL PROTECTED]
510-872-7066

Reply via email to