I am using dir path: /home/kah/Downloads/nutch-0.7.1/crawl.pdf/
and getting the following exception!
Exception in thread main
java.io.FileNotFoundException:
/home/kah/Downloads/nutch-0.7.1/crawl.pdf/segments (Is a directory)
Tirsdag 22 november 2005 13:12 skrev Kasper Hansen:
Hi,
I get an
The segments dir is Nutch only and has nothing to do with the Lucene Index,
which is found at the ${nutch-crawl.dir}/index.
The following lucene code works for me:
Searcher searcher = new IndexSearcher(${nutch-crawl.dir}/index);
I hope this helps.
On 11/29/05, Kasper Hansen [EMAIL PROTECTED]
(IndexSearcher.java:38)
at LuceneSearch.main(LuceneSearch.java:11)
-Oprindelig meddelelse-
Fra: Bruno Patini Furtado [mailto:[EMAIL PROTECTED]
Sendt: 29. november 2005 12:36
Til: nutch-user@lucene.apache.org; [EMAIL PROTECTED]
Emne: Re: Standalone app
The segments dir is Nutch only and has
. november 2005 16:08
Til: nutch-user@lucene.apache.org
Emne: Re: Standalone app
try
IndexSearcher(/home/kah/Downloads/nutch-0.7.1/crawl.pdf/);
Hi,
I get an Exception when trying to search my Nutch crawl from a standalone java
app. How do I search the Nutch crawl? Is the path of the index that's wrong?
When I remove /index from the path I get:
Exception in thread main
java.io.FileNotFoundException: