SQL Server - Hi -Um, I tried the code you gave as an example:select * from FT_test where

Asked By Steve M
10-Nov-09 01:06 PM
Hi -

Um, I tried the code you gave as an example:

select * from FT_test where contains(theText, 'formsof(thesaurus, ''jog'')')

, and it did not return anything. Clean boot, waited after giving the
population command, no error messages ..

I just re-tried it on a new clean db and new catalog. Same result.

???




1) Thesaurus only works for freetext searches or formsof(thesaurus with
contains.
select * from FT_test where contains(theText, 'formsof(thesaurus, ''jog'')')

2) no.
SQL Server
(1)
Freetext
(1)
Catalog
(1)
Date
(1)
TheText
(1)
Thesaurus
(1)
Formsof
(1)
Isome
(1)
  Hilary Cotter replied to Steve M
10-Nov-09 07:54 PM
what language are you using?

Also did you remove the comment tags from the thesaurus file and did you
edit it with notepad?
  Steve M replied to Hilary Cotter
19-Nov-09 02:41 PM
Hi -

Language: American english on the PC, and the coallation for the SQL Server
instance (and all of my instances) is "SQL_Latin1_General_CP1_CI_AS", the
default.

As far as editing, I admit I have looked at the thesaurus file in Notepad, but
after removing comments I saved it through the query editor in SQL 2k5
Enterprise manager, which is presumably unicode aware. A paste of the
contents of the file is shown below in the previous example.

I am wondering - is there isome soft of seperate XML related service which
must be active on the machine for it to properly fetch & interpret the XML
schema of the thesaurus document ??

I am just trying to get a simple, clean test of a thesaurus modification, and
then build on it..

Thanks for any suggestions -

Steve
  Hilary Cotter replied to Steve M
20-Nov-09 07:45 AM
You edited the American English noise word list. I am not sure if this is
significant or not.

However, SQL FTS is extremely picky with the file type. Can you take the
tseng.xml file, edit it in notepad, and then save it as tsenu.xml and try
again?

Ensure that the timestamp of the tsenu.xml file has changed to reflect the
current date/time.

Hilary
Create New Account
help
SQL Server 2008 - slow freetext searches SQL Server We have recently upgraded our full-text search catalogs to SQL 2008 from SQL 2005 and have started seeing a significant increase in the execution time of the free queries as compared to the same queries being run on the exact same data in SQL 2005. Has anyone seen this issue with SQL 08 - any ideas would be appreciated! All
KB955706 SQL Server Microsoft Update KB955706 for SQL Server has been continually failing to install on my server and giving me an error code of 800706BE. Any thoughts on how to get this installed? SQL Server Discussions SQL Server 2005 (1) SQL Server (1) Windows Server 2003 (1) Windows Server 2008 (1) Windows
Near keyword in Full Text Search SQL Server 2005 SQL Server I have a SQL Server 2005 with SP2 and when use the FTS, a could observe that AND and NEAR opertors are returning exactly the same results. Anyone has any ideas? Tanks in advanced SQL Server FullText Discussions SQL Server 2005 (1) Freetexttable (1) Containstable (1) FreeText (1) BrunoX (1) Tanks
Somewhere between CONTAINS and FREETEXT. . . SQL Server Hi there I am very new to FTS and am trying to implement search functionality as much back-end capability as possible, hence wanting to take advantage of FTS on SQL Server 2005. I've been playing with it for a little while, and I haven't field, I want to have it return only record 1. CONTAINS returns no records, and FREETEXT returns both! Here are the queries: SELECT * FROM myTable WHERE CONTAINS((*), ' "*saucepan*" AND "*pie*" ') SELECT * FROM myTable WHERE FREETEXT((*), ' saucepan pie ') I'd be most grateful for any help. I apologise if this is covering trivial or "FTS 101" type territory. Thanks TF SQL Server FullText Discussions SQL Server 2005 (1) Saucepan (1) FREETEXT (1) Pumpkin (1) Skillet (1
C# in Freetext SQL Server Probably been answered before but can't find it anywhere in these threads We are for a recruitment company and need to search for skills, we are trying to use SQL FullText Search but it refuses to find C# which is definitely in the database. We and provide a match. Has anyone come across this problem and found a solution before? SQL Server FullText Discussions SQL Server (1) Windows Server (1) XP (1) Index (1) Create (1) Replication (1) Upper (1) Table