|
I think that you have this the wrong way around. If you
look at:
and
(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 and htsearch
- 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
attribute.
- example:
- valid_punctuation: -'
-
- extra_word_characters
-
- type:
- string
- used by:
- htdig and htsearch
- default:
- <empty>
- description:
- These characters are considered part of a word. In contrast to the
characters in the valid_punctuation
attribute, they are treated just like letter characters.
Note that the locale attribute is
normally used to configure which characters constitute letter characters.
- example:
- extra_word_characters: _
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
|