WOW.. Okay.. Let me work on that.. You are a clever guy.. How you
figured that out is.. Okay.. Let me try that.. Meetings most of the
day.. So will do best I can.. Aren't the plug-in jars used to build the
indexes and do the crawling.. That does work so I assumed (probably
incorrectly) that I was all set.. So this might not be the case then..
Ah.. Well you know what they say about assuming things..  

Oh the S versus s .. WORD.. I typed this up in word and so.. It auto
corrected that and made it upper case.. Sorry.. Sorry..  Problem when
you are always rushing. Okay.. Let me work on an ANT script.. 

Andrzej,.. Hey man thanks really.. I appreciate you takin the time to
look at this with me.. 

ray


-----Original Message-----
From: Andrzej Bialecki [mailto:[email protected]] 
Sent: Friday, March 06, 2009 10:20 AM
To: [email protected]
Subject: Re: Can not get Nutch query to work.. Can you help..

Lukas, Ray wrote:
> Thanks man for helping out on this.. Thanks.. Okay
> Okay.. so Windows is okay.. I do not have much say in what we use
here..
> so. Which is fine.. I am happy. 
> 
> I have the following directories, directly under my
> C:\EclipseWorkspaces\nutchTest\outputDir directory which nutch
created..
> 
> 
> crawldb
> index
> indexes
> linkdb
> Segments

Ok ... except the "Segments" is with a lowercase "s" in front, right? 
Lowercase letters do differ from uppercase letters (a first-grader truth

that Windows explorer is blissfully unaware of).

> 
> I know that these are magic names and the config files states that
nutch
> will look for and use the index directory under this magically named
> tree so.. I am fine with that.... 
> So I think that I am good.. 
> 
> so can I say "C:\EclipseWorkspaces\nutchTest\outputDir" as a
> searcher.dir value? I am going to try that.. 
> 
> 
> Pointing Luke at that index directory works great. 
> Now.. I am not running on Tomcat.. I am just running from within
Eclipse
> as a regular old java project. This is not going to have a web
interface
> so.. no need for a web server.. 

Ah, running from Eclipse ... :| this is a bit tricky. Usually Eclipse 
can't find the plugin jars, so Nutch tools don't work from Eclipse. The 
quick & dirty hack that I use to make it work is to make an Ant build 
(to populate the build/ directory), and then add build/ to Build Path as

one of the class folders.


-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply via email to