Skip to main content.
home | support | download

Back to List Archive

Re: New versions of swish-e 2.x

From: <jmruiz(at)not-real.boe.es>
Date: Wed Nov 15 2000 - 10:06:37 GMT
Hi Bill,

Sorry, I forgot this feature. I will try to include it in next release.

cu
Jose


On 14 Nov 2000, at 14:26, Bill Moseley wrote:

> Is there a way in the library to get the 
> Search words: or Parsed word: as we discussed?  That's the query that
> been converted into the search words by WordCharacters and
> IgnoreFirst/IgnoreLast and has stop words removed.
> 
> Here's one patch.  I don't know what I'm doing, so please check my
> work ;)
> 
> swish-e-2.1.8/src > diff -u ../orig/swish2.c .
> --- ../orig/swish2.c    Tue Nov 14 14:20:42 2000
> +++ ./swish2.c  Tue Nov 14 14:18:34 2000
> @@ -368,6 +368,7 @@
>              *numstops=indexf->stopPos;
>              return indexf->stopList;
>          }
> +        indexf = indexf->next;
>      }
>      *numstops=0;
>      return NULL;
> @@ -383,6 +384,7 @@
>          {
>              return getfilewords(sw,c,indexf);
>          }
> +        indexf = indexf->next;
>      }
>      return "";
>  }
> 
> Bill Moseley
> mailto:moseley@hank.org
> 
Received on Wed Nov 15 10:08:08 2000