On 9/14/06, Zaheed Haque <[EMAIL PROTECTED]> wrote: > On 9/14/06, Tomi NA <[EMAIL PROTECTED]> wrote: > > On 9/5/06, Zaheed Haque <[EMAIL PROTECTED]> wrote: > > > Hi: > > > > I have a problem or two with the described procedure... > > > > > Assuming you have > > > > > > index 1 at /data/crawl1 > > > index 2 at /data/crawl2 > > > > Used ./bin/nutch crawl urls -dir /home/myhome/crawls/mycrawldir to > > generate an index: luke says the index is valid and I can query it > > using luke's interface. > > > > Does the "searcher.dir" value in nutch-(default|site).xml have any > > impact on the way indexes are created? > > No it doesn't have any impact on index creation. searcher.dir value is > for searching only. nutch-site.xml is where you should change.. > example... > > <property> > <name>searcher.dir</name> > <value> /home/myhome/crawls</value> > <description> > Path to root of index directories. This directory is searched (in > order) for either the file search-servers.txt, containing a list of > distributed search servers, or the directory "index" containing > merged indexes, or the directory "segments" containing segment > indexes. > </description> > </property> > > and the text file should be in this case ... > > /home/myhome/crawls/search-servers.txt
Thats the way I set it up at first. This time, I started with a blank slate, unpacked nutch and tomcat, unpacked nutch-0.8.war into the webapps/ROOT and left the deployed app untouched. I then pointed the "crawl" symlink in the current dir to point to the "crawls" directory, where my search-servers.txt (with two "localhost port" entries). In the "crawls" dir I also have two nutch-built indexes. Now, I start nutch distributed search servers on each index and start tomcat from the dir containing the "crawl" link. I get no results at all. If I change the link to point to "crawls/crawl1", the search works i.e. I get a couple of results. What seems to be the problem is inserting the distributed search server between the index and tomcat. Nothing I do makes the least bit of difference. :\ 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
