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 / August 2007

Tip: Looking for answers? Try searching our database.

Help with full Text Search

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tank047 - 15 Aug 2007 17:30 GMT
I am trying to create a full text search that uses a web interface similar to
google's advanced search, which allows users to choose such things as "with
this exact phrase" , "with all of these words" , "Without these words" etc.  
When i use the "containstable" keywords it seaches each column and ensures
that each column meets the specified criteria.  This is not what I am looking
for.  I am looking for the query to search each record for the criteria,
meaning that in the example below "Head of Department" and "Economics" do not
have to exist in the same column, but rather just the same record.  I tried
using freetexttable but this was too lose and it did not exclude words that
contained the exlusionary criteria.  I would really appreciate any help on
this.  I thought of concatenating all information into one column and
indexing that  column but it did not seem to be the best solution.  I am sure
i must be missing some simple syntax.

Thank you in Advance

tank047

SELECT * From tblcontacts INNER JOIN (SELECT DISTINCT TOP 100 c.id AS
contact_id, k.rank FROM contacts as c INNER JOIN freetextTABLE (tblcontacts,
*, '"Head of Department" AND (Department AND Economics) AND NOT
(university)') AS k ON ID = k.[key] ORDER BY k.rank DESC ) AS rankedIDs ON
contacts.id = rankedIDs.contact_id
tank047 - 17 Aug 2007 13:48 GMT
Does any one know if a T-sql Query can accomplish this?

> I am trying to create a full text search that uses a web interface similar to
> google's advanced search, which allows users to choose such things as "with
[quoted text clipped - 19 lines]
> (university)') AS k ON ID = k.[key] ORDER BY k.rank DESC ) AS rankedIDs ON
> contacts.id = rankedIDs.contact_id
 
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.