Re: [htdig] $WORDS value

Jorge (
Fri, 30 Apr 1999 12:26:58 +0200

Thanks for your help, with the change in the search works
perfectly, and the 'keywords' arenīt included in $WORDS.


Gilles Detillieux wrote:
> No, right now I think the only input parameters that can handle multiple
> definitions like this are "restrict" and "exclude". If I'm not mistaken,
> you could make htsearch handle multiple definitions of "keywords" by changing
> line 177 in htsearch/ from
> requiredWords.Create(input["keywords"], " \t\r\n");
> to
> requiredWords.Create(input["keywords"], " \t\r\n\001");
> htsearch already merges together multiple definitions into a single input
> parameter, but it uses the special separator Ctrl-A ('\001'), so this
> separator needs to be handled explicitly in the processing of parameters
> that allow it. Please let us know if this does the job for you.
> The keywords input parameter is the right one to use if you want to
> limit the search to documents that contain these words, and don't want
> these words to appear in $(WORDS).
> --
> Gilles R. Detillieux E-mail: <>
> Spinal Cord Research Centre WWW:
> Dept. Physiology, U. of Manitoba Phone: (204)789-3766
> Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Fri Apr 30 1999 - 03:35:50 PDT