tien do wrote:
Hi nutch-user!
i've followed nutch-wiki's guide for setting up nutch on ubuntu(7.04) but
when I try to search a word(apache), the command line return result(total
hit 2) and some exceptions:
//
[EMAIL PROTECTED]:~/nutch-0.9$ bin/nutch 
org.apache.nutch.searcher.NutchBeanapache
Total hits: 2
Exception in thread "main" java.lang.RuntimeException:
java.lang.NullPointerException
        at org.apache.nutch.searcher.FetchedSegments.getSummary(
FetchedSegments.java:204)
        at org.apache.nutch.searcher.NutchBean.getSummary(NutchBean.java
:344)
        at org.apache.nutch.searcher.NutchBean.main(NutchBean.java:395)
Caused by: java.lang.NullPointerException
        at org.apache.nutch.searcher.FetchedSegments.getSummary(
FetchedSegments.java:159)
        at org.apache.nutch.searcher.FetchedSegments$SummaryThread.run(
FetchedSegments.java:177)

//

I can't understand this problem.(++)

Hey

U need three dir at same level for NutchBean to search :
- index(es)
- linkdb
- segments

Pl chk if u have those.

The log says abt all these dirs being loaded


- Sagar Naik



--
This message has been scanned for viruses and
dangerous content and is believed to be clean.

Reply via email to