Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Does FTS thesaurus support CDATA sections?


Does FTS thesaurus support CDATA sections?

Author
Message
Harold J Hunsaker-402851
Harold J Hunsaker-402851
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 77
Hello,

I am testing a Full-Text Search thesaurus, and have not been able to get it to accept CDATA sections. I want to be able to specifiy stitution tag text that can include punctuation (such as a hyphen). FTS will not parse the thesaurus if sub elements contain some punctuation (- ' # $ etc.), and logs an error. If I use a CDATA section, an error is also logged, but in both cases where an error occurs, FTS continues to run and return (incorrect) results. Not sure why it returns any results if the thesaurus is invalid.

Here is the Windows Event Log message:


The thesaurus file C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData\tsenu.xml for lcid 1033 has invalid format. Please edit the file and correct it. Use retail tracing for detailed error description. See user documentation on fulltext retail tracing.Component: MicrosoftIndexer

Any thoughts on how to solve the punctuation problem? Here is the simplified thesaurus:



















<!-- Does not work

-->

<!-- Does not work

-->







Thanks


--------------------------------------------------------------------------------
Harold
Harold J Hunsaker-402851
Harold J Hunsaker-402851
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 77
Sorry, the FTS thesuarus XML file does not display. What I want to know is if there is a way to include some punctuation in the the text conent of elements, whether by using CDATA sections or some other method. Thank you
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search