On 9/14/06, Zaheed Haque <[EMAIL PROTECTED]> wrote:
> 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.
The above means that you have an empty nutch-site.xml under
webapps/ROOT and you have a nutch-default.xml with a searcher.dir
property = crawl. Am I correct? cos you left the deployed web app
untouched? no?
You are correct, the searcher.dir property is set to "crawl".
> 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.
If I remember it correctly I had some trouble with symlink once but I
don't exactly remember why.. maybe you can try without symlink..
I tried renaming the directory "crawls" to "crawl", then running the
servers like so:
./nutch-0.8/bin/nutch server 8192 crawl/crawl1 &
./nutch-0.8/bin/nutch server 8193 crawl/crawl2 &
> 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 am guessing the above is also a symlink.. hmm.. maybe it has
something to do with distributed search and symlink.. no?
It doesn't appear to be the problem. I tried without symlinks without success.
I'm going to document the problem better today, so maybe that will help.
I'm having trouble believing what I'm trying to achieve is so
problematic...nevertheless, I appreciate your effort so far.
t.n.a.