I have solved the problem I mentioned before .
now I can get the database directory where the index and segments are found but now when I construct nutchBean object i get this exception :
java.lang.ArrayIndexOutOfBoundsException: -1
any help please.
----- Original Message ----- From: "Gal Nitzan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, July 16, 2006 3:38 PM
Subject: RE: integrate nutch search engine with cms


Hi,

First make sure the search servlet works properly. The location to the
segments, linkdb and index folder should be specified in
WEB-INF/classes/nutch-site.xml in the property searcher.dir . So for example
if your folders are as follows:
/nutch/segments
/nutch/index
/nutch/linkdb

The value of searcher.dir should be: /nutch

HTH

Gal

-----Original Message-----
From: Abdelhakim Diab [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 16, 2006 12:26 PM
To: [email protected]
Subject: integrate nutch search engine with cms

I am using magnolia CMS to build my site under tomcat web server and I wanna

integrate nutch search engine in my site.
the search application coming with nutch is very good after I extracted it
under tomcat and all I need to work is to put the index & segments folders
resulting from the crawling operation in the tomcat/bin  folder and every
thing is ok.
my problem is when I integrated the search application in magnolia cms the
nutchBean class can't see the index & segments folders .
I tried to put them in many locations but in vain .
the exception is :java.lang.NullPointerException
pls any help




Reply via email to