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 2005

Tip: Looking for answers? Try searching our database.

same results regardless of operator usage

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DC Gringo - 12 Aug 2005 21:26 GMT
I am getting the same number of records resulting from this search,
regardless of the use of the operators "AND" and "OR"

All three of these yield the same results:

declare @keywords varchar(25)
set @keywords = ' "word1 and word2" '

declare @keywords varchar(25)
set @keywords = ' "word1 or word2" '

declare @keywords varchar(25)
set @keywords = ' "word1 word2" '

...when I run this:

SELECT  id
FROM  table1
WHERE FREETEXT(column1,@keywords)

_____
DC G
Hilary Cotter - 13 Aug 2005 00:43 GMT
FreeText ignores Boolean operators, that's why you are getting the same
results.

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> I am getting the same number of records resulting from this search,
> regardless of the use of the operators "AND" and "OR"
[quoted text clipped - 18 lines]
> _____
> DC G
 
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.