RE: Error when search for C#
| Newsgroups | gmane.comp.web.htdig.general |
|---|---|
| Message-ID | <9A231DD5759A42448B0689E46A49C8D41327EA15@i2km39-ukdy.domain1.systemhost.net> |
I think that you have this the wrong way around. If you look at: http://www.htdig.org/attrs.html#extra_word_characters and http://www.htdig.org/attrs.html#valid_punctuation (Both shown below) you will see that this character needs to be removed from 'valid_punctuation' and added to 'extra_word_characters' Hope that helps, Mike valid_punctuation type: string used by: htdig <http://www.htdig.org/htdig.html> and htsearch <http://www.htdig.org/htsearch.html> default: .-_/!#$%^&' description: This is the set of characters which will be deleted from the document before determining what a word is. This means that if a document contains something like Andrew's the digger will see this as Andrews. The same transformation is performed on the keywords the search engine gets. See also the extra_word_characters <http://www.htdig.org/attrs.html#extra_word_characters> attribute. example: valid_punctuation: -' extra_word_characters type: string used by: htdig <http://www.htdig.org/htdig.html> and htsearch <http://www.htdig.org/htsearch.html> default: <empty> description: These characters are considered part of a word. In contrast to the characters in the valid_punctuation <http://www.htdig.org/attrs.html#valid_punctuation> attribute, they are treated just like letter characters. Note that the locale <http://www.htdig.org/attrs.html#locale> attribute is normally used to configure which characters constitute letter characters. example: extra_word_characters: _ _____ From: [email protected] [mailto:[email protected]] On Behalf Of Eduardo B Domanski Sent: Thursday, March 16, 2006 1:46 PM To: [email protected] Subject: [htdig] Error when search for C# HEy guys, how're you doing? I got a problem, and tried several ways to resolve it, but all of them failed. When I search for "C#", it doen't match anything, but I have some HTML's with "C#" on the text or description meta. I tried put # on valid_pontuation and something like that, but it didn't work. Does anyone knows how can I resolve this? Thanks so much, Eduardo