I just received an email from Alex with a possible fix. First, by default the index (if running INTERNAL), only indexes words that are 3 characters or more. To change this (like I have), so that it will index C# and C+ properly:
In your admin dir under GT/SQL/Search/Base/Indexer.pm, change:
Code:
'min_word_size' => 3,
to
Code:
'min_word_size' => 2,
After that is done, here is Alex's email on the fix:
Code:
Hmm, you could do this by editing GT/SQL/Search/Base/Common.pm and
change (around line 45):
@words = split /[^\w\x80-\xFF\-]+/, lc $text;
to:
@words = split /[^\w\x80-\xFF\-\+]+/, lc $text;
Then do a full re-index, and you should have c++ in your word list
(however by default it takes at least 3 chars to be indexed, so c+
wouldn't get indexed).
Try ou the search and if it doesn't work, you may need to edit
GT/SQL/Search/Base/Search.pm and change (around line 362):
| (\+?[\w\x80-\xFF\-\*]+),?
to:
| (\+?[\w\x80-\xFF\-\*\+]+),?
I'm not 100% sure about that part. =)
Cheers,
Alex