Page 1 of 1

highlighting of words in single quotes

Posted: Mon Feb 27, 2006 2:33 am
by rjshelq
Hi,
I have a great deal of text that uses single quote marks (0x27) to indicate quoted text. The indexer and search results do seem to properly index and find the text in single quotes, but the search results that are inside of the single quotes, for example: 'gaudy', are not highlighted in the search results, and they are not highlighted in the context preview. (webinator 5.1.24)

Is there a solution that will highlight those terms in both the search results and the context preview?

Thanks.

highlighting of words in single quotes

Posted: Mon Feb 27, 2006 7:41 am
by John
You would need to modify wordc to remove the single quote/apostrophe from the word definition.

http://thunderstone.master.com/texis/ma ... ml?q=wordc

highlighting of words in single quotes

Posted: Mon Feb 27, 2006 2:42 pm
by rjshelq
I'm new to Webinator, and don't yet understand how to modify wordc. The Help info says "They are equivalent to changing the corresponding parameter in the profile, or by calling the Metamorph API function to set them." And the PDF file says to use the form: set wordc=’[\alnum]’

But it doesn't seem to say where to find "the profile" or how to "set them".

Could you suggest a simple method to accomplish the change that you have suggested?

highlighting of words in single quotes

Posted: Mon Feb 27, 2006 3:25 pm
by mark
In the search script just before the line that reads
<!-- Other setting you may wish to tweek.
Add
<sql "set wordc=’[\alpha]’"></sql>