all groups > sql server full text search > october 2005 >
You're in the

sql server full text search

group:

ft search error in win2k3 sp1 with sql 2k sp4?


ft search error in win2k3 sp1 with sql 2k sp4? phadke NO[at]SPAM gmail.com
10/18/2005 3:43:13 AM
sql server full text search:
I just setup my server with win2k3 sp1 and ALL the latest patches, plus
sql 2004 standard sp4.

I keep getting this error on a table with 39000 records where I am
running a basic wildcard CONTAINS fulltext query for "cer*"

Server: Msg 7643, Level 16, State 1, Line 1
Your search generated too many results. Please perform a more specific
search.

There should be about 30000 records.

I noticed on technet that this was a problem pre sp2 in sql, but was
since patched. Has the bug recently been re-introduced in some combo
of win2k3 and sql patches?
Re: ft search error in win2k3 sp1 with sql 2k sp4? John Kane
10/18/2005 8:46:30 AM
Phadke,
Yes, there was some additional logic added in SP3 that generates the below
error message. SQL FTS is optimized for returning 2000 results per query,
primarily for performance reasons. You may want to re-write your query using
CONTAINSTABLE and use the Top_N_by_Rank parameter to limit the results to
2000 or use a similar TOP restriction in the select list.

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


[quoted text, click to view]

Re: ft search error in win2k3 sp1 with sql 2k sp4? phadke NO[at]SPAM gmail.com
10/18/2005 11:30:16 AM
John,

Just to clarify, is this a hard limit of 2000, because I am able to see
the result set for queries that return a con query with 17-18k records
with no problem.

I saw another technote that the problem limit was at approx 20k
records:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q296456

Thanks for the info,

Aditya
Re: ft search error in win2k3 sp1 with sql 2k sp4? Aditya Phadke
10/18/2005 11:42:46 AM
Also, is this limitation common to sql 2005?
Re: ft search error in win2k3 sp1 with sql 2k sp4? Aditya Phadke
10/18/2005 2:50:39 PM
Ok, now I am really confused....I ran a fulltext query for "c*" on a
database on another server. This database has 2.4 Million Records.

This server is Win2k3 (no SP) and SQL 2k SP3.

When I run the query, I get 900,000 records back without an error
message.
Re: ft search error in win2k3 sp1 with sql 2k sp4? John Kane
10/18/2005 6:48:14 PM
Aditya,
Yes, this is the KB article that I couldn't find early this morning when in
a rush to get off to work...
Still for performance reasons, it might be best to use Top_N_Rank with
CONTAINSTABLE or is there a specific reason you want to return this many
rows?

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


[quoted text, click to view]

Re: ft search error in win2k3 sp1 with sql 2k sp4? John Kane
10/18/2005 6:49:51 PM
Aditya,
I need to confirm this with a large table in order to generate the large
results. However, I would suspect that it is still in SQL 2005 until proved
otherwise...

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


[quoted text, click to view]

Re: ft search error in win2k3 sp1 with sql 2k sp4? John Kane
10/18/2005 6:52:55 PM
Aditya,
Different servers can behavior differently for FTS results based upon the OS
platform (different wordbreakers) and due to different noise word file
contents. In this case, and on this server is the single letter "C" removed
from the language-specific noise word file (noise.enu = US English) for the
specific FT-enable column's "Language for Word Breaker"?

As they say the devil is in the details... ;-)

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


[quoted text, click to view]

AddThis Social Bookmark Button