I figured it out. I used in my nutch-site.xml the following config
<property>
<name>searcher.max.hits</name>
<value>2048</value>
....
If I change the value to nothing "" it works all fine. It took me a couple
of hours to figure it out. This might be a bug.
> -----Original Message-----
> From: Tomi NA [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 18, 2006 12:32 AM
> To: [email protected]
> Subject: Re: java.lang.NullPointerException
>
> On 9/17/06, NG-Marketing, Matthias Schneider <[EMAIL PROTECTED]>
> wrote:
> > Hello List,
> >
> >
> >
> > i installed nutch 0.8 and i can fetch and index documents, but I can not
> > search them. I get the following error:
> >
> >
> >
> > StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
exception
> >
> > java.lang.NullPointerException
> >
> > at
> >
org.apache.nutch.searcher.LuceneQueryOptimizer$LimitedCollector.<init>(Lucen
> > eQueryOptimizer.java:108)
> >
> > at
> >
>
org.apache.nutch.searcher.LuceneQueryOptimizer.optimize(LuceneQueryOptimize
> r
> > .java:244)
> >
> > at
> > org.apache.nutch.searcher.IndexSearcher.search(IndexSearcher.java:95)
> >
> > at
org.apache.nutch.searcher.NutchBean.search(NutchBean.java:249)
> > [...snip...]
>
> Can't say I ran into a problem like that, but have you checked if your
> index is valid, i.e. can you open the index with luke
> (http://www.getopt.org/luke/) and run queries?
>
> t.n.a.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general