On 9/15/06, Tomi NA <[EMAIL PROTECTED]> wrote:
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.

I don't think I can document the problem better than I have here:
http://tna.sharanet.org/problem.html

It's a 2-minute flash movie showing exactly what I'm doing. I'd very
much appreciate anyone taking a look at it, but especially Zaheed.
The only thing I forgot to display in the movie is my search-servers.txt:
localhost 8192
localhost 8193

Now, what am I doing wrong?

t.n.a.

Reply via email to