From: Ahmon D. <da...@fr...> - 2006-02-27 23:56:44
|
Hello htdig developers. Two questions/comments: #1: bug #1123810 seems like an important bug with an easy fix. What are the chances of getting it in? I had a look at rundig in the CVS repository and it looks like it's still not done. #2: How come rundig calls htdig with the -i flag by default? Doing so makes it impossible (as far as I can tell) to use rundig to do incremental indexing. |
From: Neal R. <ne...@ri...> - 2006-03-01 23:24:36
|
On Mon, 27 Feb 2006, Ahmon Dancy wrote: > Hello htdig developers. > > Two questions/comments: > > #1: bug #1123810 seems like an important bug with an easy fix. What > are the chances of getting it in? I had a look at rundig in the CVS > repository and it looks like it's still not done. Please submit the fix. > #2: How come rundig calls htdig with the -i flag by default? Doing > so makes it impossible (as far as I can tell) to use rundig to do > incremental indexing. > Correct! I don't use rundig myself.. FYI: A couple of us are in the process of reworking HtDig's code code for HtDig 4.0. You can see the progress reports here http://htdig.blogspot.org & http://opensource.rightnow.com/htdig.php I think the current version in the trunk of CVS is more or less DEAD. Feel free to participate in HtDig 4.0, see the CVS branch for 4.0. At this point we could use help reworking the htsearch CGI. basically we need to first gut it so that it does little accept respond as a CGI should.. then we'll add the calls to the new search engine and display the results. A cool set of other-language bindings for search would be awesome as well.. along the lines of what has been done for CLucene. Thanks -- Neal Richter Sr. Researcher and Machine Learning Lead Software Development RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |
From: Ahmon D. <da...@fr...> - 2006-03-02 00:10:21
|
>> > #1: bug #1123810 seems like an important bug with an easy fix. What >> > are the chances of getting it in? I had a look at rundig in the CVS >> > repository and it looks like it's still not done. >> >> Please submit the fix. (diff against the trunk) Index: installdir/rundig =================================================================== RCS file: /cvsroot/htdig/htdig/installdir/rundig,v retrieving revision 1.9 diff -u -r1.9 rundig --- installdir/rundig 29 Dec 2003 08:49:05 -0000 1.9 +++ installdir/rundig 1 Mar 2006 23:44:16 -0000 @@ -30,7 +30,6 @@ done # If -a specified, note the database directory to move the temp files correctly -# TODO: Should also check for files relative to COMMONDIR. if [ -f "$conffile" ] then new_db_dir=`awk '/^[^#a-zA-Z]*database_dir/ { print $NF }' < $conffile` @@ -38,6 +37,11 @@ then DBDIR=$new_db_dir fi + new_dir=`awk '/^[^#a-zA-Z]*common_dir/ { print $NF }' < $conffile` + if [ "$new_dir" != "" ] + then + COMMONDIR=$new_dir + fi else echo "Config file $conffile cannot be found" exit 1 >> >> > #2: How come rundig calls htdig with the -i flag by default? Doing >> > so makes it impossible (as far as I can tell) to use rundig to do >> > incremental indexing. >> > >> >> Correct! I don't use rundig myself.. So... what do we do about it? I think rundig would be fine (w/ the COMMONDIR fix above) and the removal of the default -i flag. >> FYI: A couple of us are in the process of reworking HtDig's code code for >> HtDig 4.0. You can see the progress reports here >> >> http://htdig.blogspot.org & http://opensource.rightnow.com/htdig.php I checked it out. It looks promising! >> I think the current version in the trunk of CVS is more or less >> DEAD. Alright. I'm using the htdig rpm from Fedora Core 4. I can just submit patches to whoever is maintaining the package at Redhat. However, I do want to make sure that the patches are agreeable to you first. |