Re: [htdig] config-questions: special characters and search restriction


Subject: Re: [htdig] config-questions: special characters and search restriction
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Wed Jan 17 2001 - 07:37:31 PST


On Wed, 17 Jan 2001, Juergen Peus wrote:

> the "&" gets not recognized by htsearch...

This is correct. At the moment, only and, or, and not operators are
recognized.

> So what i need is the possibility the restrict htsearch to only
> search within the headers/titles/text and nowhere else...

This is what we usually term "field-restricted" searching. In the 3.1.x
code (and before), this is not possible except by the means you described.
In the 3.2 code, the scoring factors can be set on-the-fly for htsearch,
which minimizes the pain somewhat. But while the 3.2 code keeps track of
where words were found, at the moment there isn't any htsearch code to
restrict searches in this manner.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 07:52:13 PST