Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / January 2005

Tip: Looking for answers? Try searching our database.

Duplicates in result set

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael D. - 24 Jan 2005 22:41 GMT
I have a simple FT query

SELECT PK,TEXT_DATA
FROM TABLE
WHERE CONTAINSs(TEXT_DATA,'"search1" and "search2"')

I get duplicates in the result set, despite the fact that no duplicates of
the PK,TEXT_DATA exist in the table...

Is this an indication that the FT index is corrupt ???

Any insight will be of value.

Michael.
Hilary Cotter - 24 Jan 2005 22:48 GMT
well, it is unusual behavior.

Are you saying you will get two rows with the same pk returned from this
search?

>I have a simple FT query
>
[quoted text clipped - 10 lines]
>
> Michael.
John Kane - 25 Jan 2005 02:06 GMT
Michael,
Have you tried using the distinct keyword? For example,

SELECT DISTINCT PK, cast(TEXT_DATA as varchar(1000)) as Short_Description
FROM TABLE
WHERE Contains(TEXT_DATA,'"search1" and "search2"')

Regards,
John
Signature

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

> I have a simple FT query
>
[quoted text clipped - 10 lines]
>
> Michael.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.