Hi there,

I run nutch 0.9 follow the tutorial
(http://wiki.apache.org/nutch/NutchTutorial) step by step, until
searching  every step seems ok.
But when I search:
[EMAIL PROTECTED] nutch-0.9]$ bin/nutch org.apache.nutch.searcher.NutchBean TV
Exception in thread "main" java.io.FileNotFoundException: no segments*
file found: files:
        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:485)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:147)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:142)
        at org.apache.nutch.searcher.IndexSearcher.<init>(IndexSearcher.java:71)
        at org.apache.nutch.searcher.NutchBean.init(NutchBean.java:119)
        at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:106)
        at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:84)
        at org.apache.nutch.searcher.NutchBean.main(NutchBean.java:388)

Here is the crawl dir layout:
[EMAIL PROTECTED] nutch-0.9]$ ls crawl/
crawldb  index  linkdb  segments

What cause the exception?

Thanks in advance,
Xiong

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to