nutch mapred + tomcat and a couple other questions
Sorry for such a basic question, but how do we run a search on a generated index ? I read about how to setup tomcat w/ nutch 0.8 and you have to run it in the directory where the index resides (apparently it looks in the segments dir from where it's run). However this wont' work w/ nutch 0.8 since the index is in ndfs. I then tried to copy it locally using ndfs -copyToLocal, but without any luck. Also, how to use nutch search ? Is NutchBean the closest thing to segread from nutch 0.8 ? Finally, what's the purpose of nutch parse and how to use it ? Thanks, --Flo
Re: nutch mapred + tomcat and a couple other questions
My err, I meant nutch server not nutch search --Flo Florent Gluck wrote: Sorry for such a basic question, but how do we run a search on a generated index ? I read about how to setup tomcat w/ nutch 0.8 and you have to run it in the directory where the index resides (apparently it looks in the segments dir from where it's run). However this wont' work w/ nutch 0.8 since the index is in ndfs. I then tried to copy it locally using ndfs -copyToLocal, but without any luck. Also, how to use nutch search ? Is NutchBean the closest thing to segread from nutch 0.8 ? Finally, what's the purpose of nutch parse and how to use it ? Thanks, --Flo
Re: nutch mapred + tomcat and a couple other questions
Never mind, I got tomcat working. After looking at the code, it seems nutch parse does nothing yet. The last remaining thing is how to use NutchBean to output the segments' content. Thanks, --Flo Florent Gluck wrote: Sorry for such a basic question, but how do we run a search on a generated index ? I read about how to setup tomcat w/ nutch 0.8 and you have to run it in the directory where the index resides (apparently it looks in the segments dir from where it's run). However this wont' work w/ nutch 0.8 since the index is in ndfs. I then tried to copy it locally using ndfs -copyToLocal, but without any luck. Also, how to use nutch search ? Is NutchBean the closest thing to segread from nutch 0.8 ? Finally, what's the purpose of nutch parse and how to use it ? Thanks, --Flo