If it is working on windows and not linux my guess is that it is either
a classpath or a relative path issue. Here is how I would troubleshoot:
1) Check where searcher.dir is pointing to, make sure that is a fully
qualified path. If running distributed search it should point to a
folder containing a search-servers.xml file, otherwise should point to
an indexes parent location.
2) Make sure any uppercase / lowercase differences are resolved.
3) Make sure you are pointing to the parent of the indexes directory.
That parent should contain a segments folder, an indexes folder, and
possibly a linkdb folder.
4) Make sure plugins folder exist.
5) Make sure you are using the same version of Nutch and Hadoop and the
plugins for both indexing and serving.
6) Make sure you are using the same java version for indexing and serving.
7) Try using NutchBean to do a search and see if results are returned.
8) Try doing a search that should return anything, like "http".
9) Set log4j.properties logging to all and check logs for any errors.
10) Did all that and still not seeing anything, try changing the version
of the servlet container you are using (I have seen problems with some
intermediate builds of tomcat).
Still need more help. Give more info and we might be able to narrow it
down further.
Dennis
elangovan anbalahan wrote:
Hello,
I am facing a problem with my Nutch search. when i am searching for
something in the crawlled pages, i am getting '0' results, This is the case
when i am running search on Fedora.
But when i do search on same crawlled pages from vista (Using cygwin)
everything is proper, and the results are correct.
Please help me out with this problem, i have been bangin my head on this one
for last one day but no success.
Thanks,
Elan