[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New search engine better, but still needs improvement
Marc, (are you on the linuxkb-list??)
search for "named" which is in the only existing article in the tree
returns:
htdig 3.1.3 w/o any patches = zero hits
htdig 3.1.3 w/ CGI param patch = 8 hits
htdig 3.1.3 w/ CGI param & Marc's LinuxKB custom patch = 3 hits
So we're definately heading in the right direction, but we're still
reporting too many hits. The returned URL's are:
http://dev.linuxkb.org:81/kb/doc/render.php3?op=1.3.5.7&oid=7&type=6&as=5.1.4.3
http://dev.linuxkb.org:81/kb/doc/render.php3?op=1.4.5.7&oid=7&type=6&as=5.1.4.3
http://dev.linuxkb.org:81/kb/doc/render.php3?op=1.3.5.7&oid=7&type=6&as=6.2.4.3
I can figure out how htsesarch returned the first two results, but the 3rd
is a mystery to me as I can't for the life for me duplicate that URL by
hitting hyperlinks on the site. Jason, do you think you can look in the
DB and figure how how htdig is finding the 3rd hit (which turns out to be
a valid URL)?
Anyways, Marc, it doesn't look like like your code is properly weeding out
hits by the oid value. Also, it's possible that the CGI param patch is
conflicting with your edits (I applied the patches then overwrote the
Display.[h|cc] with your version). You can get the 3.1.3 patches from:
ftp://ftp.htdig.org/pub/htdig/contrib/other/
You'll want both the urlparam and extconv patches.
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://linuxkb.org/
Because world domination requires quality open documentation.