Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3613464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:07:40+00:00 2026-05-18T22:07:40+00:00

FORMSOF THESAURUS throws errors for specific character. E.g. FORMSOF (THESAURUS, hel!lo) throws an error

  • 0

FORMSOF THESAURUS throws errors for specific character. E.g. FORMSOF (THESAURUS, hel!lo) throws an error whereas FORMSOF (THESAURUS, hel?lo) works.

However, I did not find any documentation about which characters are allowed.

Can you help me out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:07:41+00:00Added an answer on May 18, 2026 at 10:07 pm

    The Thesaurus is expecting a word or term:

    http://msdn.microsoft.com/en-us/library/cc879300(v=sql.110).aspx

    What I do in my .NET code is use a regex to remove all those special characters (basically leaving A-Z and 0-9.

    http://msdn.microsoft.com/en-us/library/aa258227(v=sql.80).aspx

    says:

    word

    Is a string of characters without
    spaces or punctuation.

    phrase

    Is one or more words with spaces
    between each word.

    Make sure you have your stop words setup (I did have changed to have none of them in my code)

    Stopwords

    When defining a full-text query, the
    Full-Text Engine discards stopwords
    (also called noise words) from the
    search criteria. Stopwords are words
    such as “a,” “and,” “is,” or “the,”
    that can occur frequently but that
    typically do not help when searching
    for particular text. Stopwords are
    listed in a stoplist. Each full-text
    index is associated with a specific
    stoplist, which determines what
    stopwords are omitted from the query
    or the index at indexing time. For
    more information, see Stopwords and
    Stoplists.

    There is also an awesome library for .net here: (I used that to transform phrases in full text queries)
    http://www.sqlservercentral.com/articles/Full-Text+Search+(2008)/64248/

    EDIT:
    This might help:
    Note that I did replace ‘s to nothing or else That’s becomes Thats and would be a no match.

    search = search.Replace("’s", "");
    search = Regex.Replace(search, @"[#$%&()*“”+,./:;<=>!?@[\\\]^_`’{|}~]", "");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a T-SQL query like this: DECLARE @search nvarchar(1000) = 'FORMSOF(INFLECTIONAL,hills) AND
Of all the forms of CAPTCHA available, which one is the least crackable while
The following two forms of jQuery selectors seem to do the same thing: $(div
I wish to have long and short forms of command line options invoked using
I'm trying to get started with USSD . I'm familiar with other forms of
I'm trying to create the following SQL query (as in, this is an example
I have a site which is searchable using Lucene. I've noticed from logs that
Is it possible to get the information why/how given row returned by FTS query
My problem is similar to this one: I'm having trouble using paramaters in a
I want to create a stored procedure to do some combined keyword search using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.