Esa Ahola (esa@mindspring.com)
Thu, 26 Feb 1998 14:50:37 -0500 (EST)
The current implementation passes stop words through to the fuzzy
algorithms. This has the effect of returning no matches from an "All"
query which contains a stop word, even if the other words do occur.
This appears to fix it:
--- htdig-3.0.8b2+Pasi/htsearch/htsearch.cc Fri Aug 15 01:59:46 1997
+++ htdig.esa/htsearch/htsearch.cc Tue Dec 30 16:13:48 1997
@@ -465,7 +475,7 @@
for (i = 0; i < tempWords.Count(); i++)
{
WeightWord *ww = (WeightWord *) tempWords[i];
- if (ww->weight > 0)
+ if (ww->weight > 0 && !ww->isIgnore)
{
//
// Apply all the algorithms to the word.
-- Esa Ahola esa@mindspring.com
This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:42 PST