Thanks for the pointer, Sean. The property was set correctly, but
reading the description helped me realize that the Nutch tutorial on the
wiki had an error - it was generating the indexes by

bin/nutch index indexes crawl/crawldb crawl/linkdb crawl/segments/*

instead of

bin/nutch index crawl/indexes crawl/crawldb crawl/linkdb crawl/segments/*

So NutchBean couldn't find anything with the default options.  I've
corrected it.

Regards,



Ricardo J. Méndez
http://ricardo.strangevistas.net/

Sean Dean wrote:
> Check to see if your nutch-site.xml file has the correct path to your crawl 
> directory inside the "searcher.dir" property. It should look something like 
> this (edit using your own path):
>  
> <property>
>   <name>searcher.dir</name>
>   <value>/usr/local/nutch/build/nutch-0.9-dev/crawl</value>
>   <description>
>   Path to root of crawl.  This directory is searched (in
>   order) for either the file search-servers.txt, containing a list of
>   distributed search servers, or the directory "index" containing
>   merged indexes, or the directory "segments" containing segment
>   indexes.
>   </description>
> </property>
> 
> 
> ----- Original Message ----
> From: Ricardo J. Méndez <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Tuesday, March 6, 2007 12:08:41 AM
> Subject: Index populated but NutchBean can't find hits
> 
> 
> Hi,
> 
> I'm having a problem with nutch 0.9 (updated from the trunk yesterday).
> I injected a few links as test, fetched, updated, and ran the indexing.
>   Luke - thanks a lot to Sean Dean for mentioning it - shows that the
> documents were indeed indexed, and test searching on Luke returns what I
> would expect.
> 
> NutchBean, however, returns a total hits of 0.
> 
> Any ideas as to what might be broken?
> 
> Thanks in advance,
> 
> 
> 
> Ricardo J. Méndez
> http://ricardo.strangevistas.net/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to