I have the same problem with a merged segment. I had a look with luke at
the index and it seems that the indexer puts the old segment names in
there instead of the name of the merged segment. I'm not sure if I did
something wrong or if this is a bug.
Dominik
Gal Nitzan schrieb:
Hi,
I have built a new index based on the new segment only.
-----Original Message-----
From: Stefan Neufeind [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 10:03 AM
To: [email protected]
Subject: Re: NPE When using a merged segment
Gal Nitzan wrote:
Hi,
After using mergesegs to merge all my segments to one segment only, I
moved
the new segment to segments.
When accessing the web UI I get:
java.lang.RuntimeException: java.lang.NullPointerException
org.apache.nutch.searcher.FetchedSegments.getSummary(FetchedSegments.java:20
3)
org.apache.nutch.searcher.NutchBean.getSummary(NutchBean.java:329)
org.apache.jsp.search_jsp._jspService(org.apache.jsp.search_jsp:175)
Hi,
I'm not sure - but have you tried reindexing that new segment? To my
understanding the index holds refereences to the segment (segment-name)
- and in your case those are invalid. This would also explain the error
you get (in call to getSummary) because the summary is fetched from the
segment.
If this works, then maybe you'll need to find a better way of cleaning
up the index - not reindexing everything but maybe just rewriting the
segmeent-names all into one or so.
Feedback welcome.
Good luck,
Stefan
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers