you mean in nutch-site.xml,the value of "seach.dir"?
it's already absolute value,
in my case,it's /root/crawl
Mr Shore

Brian Ulicny wrote:
> 
> Try putting in a non-relative path to your crawl directory.
> 
> Brian
> 
> On Tue, 7 Oct 2008 04:11:48 -0700 (PDT), "Mr Shore"
> <[EMAIL PROTECTED]> said:
>> 
>> I've correctly run bin/nutch crawl to generate an index database called
>> "crawl",and I can search the "crawl" database by "bin/nutch
>> org.apache.nutch.searcher.NutchBean test",which returns a result like
>> below:
>> Total hits: 1
>>  0 20081007031237/http://localhost:81/1.txt
>> test
>> 
>> it is right since the "crawl" database is very small,just for the purpose
>> of
>> testing,
>> now switch to the search.jsp in nutch-0.9.war,which  I put in the
>> directory
>> of $TOMCAT_HOME/webapps and then automatically generated,then I modified
>> $TOMCAT_HOME/webapps/nutch-0.9/WEB-INF/classes/nutch-site.xml like below:
>>  <?xml version="1.0"?>
>> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
>> 
>> <!-- Put site-specific property overrides in this file. -->
>> 
>> <configuration>
>> <property>
>>         <name>searcher.dir</name>
>>         <value>/root/crawl</value>
>> </property>
>> </configuration>
>> which exactly point to the "crawl" database,
>> but each time when I post a request,it returns total 0 match,
>> you can try it out at http://www3.jobirn.com:8080/nutch-0.9/
>> any advice is greatly appreciated!
>> -- 
>> View this message in context:
>> http://www.nabble.com/issue-with-search.jsp-in-nutch-0.9.war-tp19855907p19855907.html
>> Sent from the Nutch - User mailing list archive at Nabble.com.
>> 
> -- 
>   Brian Ulicny
>   bulicny at alum dot mit dot edu
>   home: 781-721-5746
>   fax: 360-361-5746
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/issue-with-search.jsp-in-nutch-0.9.war-tp19855907p19859958.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to