Groups | Blog | Home
all groups > sql server full text search > december 2004 >

sql server full text search : Full-text search trouble


John Kane
12/23/2004 10:42:12 AM
Denis,
Could you post the full output of -- SELECT @@version -- as this is most
helpful information in troubleshooting SQL FTS issues.

There can be several factors that can account for this behavior, one is the
OS Platform that you have SQL Server installed on and if you have any
punctuation characters (for example, <,>,-_,) in contact with your search
word "only". Another factor is that the US English word "only" is by default
in the US_English noise word file (noise.enu). Have you removed this word
from your language-specific noise word file? Additionally, the English word
"only" does not stem to any other form of this word.

Finally, do either of the following SQL queries return the expected results?

-- valid FTS contains query
select * from a where contains(t, '"only"')
-- valid T-SQL LIKE query
select * from a where t like '%only%'

Thanks,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/


[quoted text, click to view]

denis_rusakov NO[at]SPAM epam.com
12/23/2004 6:08:33 PM
Hello , all
I try to run SELECT with contains function

select * from a
where (a.t , '"only*"')

but my query doesn't find any rows, it 's happened with the word - ONLY.
What's happening?

Thank you.

denis_rusakov NO[at]SPAM epam.com
12/23/2004 6:12:18 PM
BTW, I didn't find any articles say that ONLY is key and reserved word......

[quoted text, click to view]

John Kane
12/24/2004 2:50:42 AM
You're welcome, Denis!
Ahh, I thought so, and the first noise word question/issue with Yukon (SQL
Server 2005) FTS on Win2003 - and THAT is why I ask for the @@version info
on nearly all of my 1st replies!

Have a safe & happy Christmas!
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/


[quoted text, click to view]

denis_rusakov NO[at]SPAM epam.com
12/24/2004 11:34:07 AM
Hello, John, and thank you for your answer.
I use
Microsoft SQL Server Yukon - 9.00.852 (Intel X86)

Jul 19 2004 22:09:12

Copyright (c) 1988-2003 Microsoft Corporation

Beta Edition on Windows NT 5.2 (Build 3790: ).

'Like' construction is working ok of course.
Thank you it's noise word.
Denis.

[quoted text, click to view]

denis_rusakov NO[at]SPAM epam.com
12/24/2004 2:26:21 PM
Thank you again...
But I've a new trouble, maybe I don't understand but
I have row with phrase TEST FOR SIZE
if I search
select * from r_message

where contains (subject,'"test for size"')

I find the row but if

select * from r_message

where contains (subject,'"test for size*"')

I can't find the row. I don't understan why.....I've read BOL and didn't see
anything tell me that I'm wrong.....

[quoted text, click to view]

denis_rusakov NO[at]SPAM epam.com
12/24/2004 3:42:43 PM
I've found solution - FOR - is also noise word......

[quoted text, click to view]

AddThis Social Bookmark Button