Skip to main content.
home | support | download

Back to List Archive

Meaning of EMPHASIZECOMMENTS

From: John Coleman <john.coleman(at)not-real.yale.edu>
Date: Wed Jan 28 1998 - 20:53:30 GMT
Can someone explain the function of this define from config.h on
swish-e1.1?

#define EMPHASIZECOMMENTS 0

/* Normally, words within HTML comments are not assigned a higher
** relevance rank. If you're including keywords in comments
** define this as 1 so matching results will rise to the top
** of search results.
*/

I've tried compiling both ways and don't see a difference.  Does swish
SEARCH comments if this is turned on?

My read of this explanation is that I can put <!---dog dog dog dog--> in a
document, and, all things being equal, that document will be first when I 
search dog?


**********
John Coleman
Yale University Library Systems
130 Wall St.
New Haven, CT 06520 USA
203-432-1847
Received on Wed Jan 28 13:01:55 1998