highlighting of words in single quotes

Post Reply
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

highlighting of words in single quotes

Post 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.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

highlighting of words in single quotes

Post by John »

John Turnbull
Thunderstone Software
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

highlighting of words in single quotes

Post 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?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

highlighting of words in single quotes

Post 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>
Post Reply