On Tue, 14 Sep 2004, Malka Cymbalista wrote:
I am trying to search only part of my site. I created an html file that lists the documents I want searched. I created a separate configuration file and specified a separate database_dir directory. In the configuration file I gave the html file that lists the documents to be searched as the start_url. I ran htdig and htmerge (rundig) with this alternate configuration file and it seems to have worked. When I look at the htdig log file at the end, I see the following: (which is what I expect) htdig: Run complete htdig: 2 servers seen htdig: www.weizmann.ac.il:80 131 documents htdig: www.wisdom.weizmann.ac.il:80 3 documents
I created a separate search form that specifies the new configuration file as the value for the config parameter. The problem is that when I do a search, I consistently get back that no matches were found. Does anyone have any suggestions? Thanks for any help.
Did you check the new database directory after executing rundig to ensure that new databases were actually created? Also, if you are using rundig with '-a', did you update the DBDIR variable appropriately in the rundig script?
How did you name your new config file and how did you reference it from the new search page? The config file should be in the directory specified at build time and should have a .conf extension. In the search form it should have neither a path nor the .conf extension. Did you remove the original config setting from the new search page?
You might also try running htsearch from the command line to see if it also fails to find any matches.
Jim
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

