See http://www.htdig.org/FAQ.html#q4.18
According to edwin lin: > I checked the file of htdig.conf, but could not find the > maximum_word_length attribute. I am using htdig 3.1.5. Where can I > find it? Thanks, > > >From: Gilles Detillieux <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] (edwin lin) > >CC: [EMAIL PROTECTED] > >Subject: Re: [htdig] refine search > >Date: Wed, 5 Dec 2001 16:38:34 -0600 (CST) > > > >According to edwin lin: > > > When I do a search of cancer at > > > http://www.nyam.org/divisions/publichealth/epgarchive/search.html, > > > it return a list of results. I can do another text refine search, > > > but I can't do a Geographical refine search by enter NY or (NY). What > > > should I do to enable this feature? Thanks, > > > >I'm not sure if you're asking as a user of the nyam.org site, or as > >a maintainer of it. There's no easy way of restricting searches to > >text strings containing punctuation in this way. If you're a maintainer > >of the site, there are a few things that you could try to get the more > >significant results ranked higher. If you're just a user, you may > >want to pass this on to someone who maintains the nyam.org site. > >(We don't, we just work on the search engine software, which is used > >by thousands of sites.) > > > >First of all, you can drop the maximum_word_length attribute from the > >default of 3 down to 2, and reindex, so short words like state codes > >get indexed. The fact that they're in the document titles should help, > >as titles score higher than words in the document body. You can tweak > >this further by increasing title_factor, or decreasing the other *_factor > >attributes. Finally, you could add the "(" and ")" characters to > >extra_word_characters so they're treated as part of the word like letters, > >but somehow I don't think that's what you want to do in general, because > >then a search for "cancer" will miss this word at the start or end of > >a parenthetical note. > > > >These attributes are documented in http://www.htdig.org/attrs.html -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

