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

Tip: Looking for answers? Try searching our database.

Fulltext search miss records in select

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henrik Juel - 19 Feb 2007 17:03 GMT
Running

SELECT productid,productname from productsFullText
where
freetext (*, 'x2000')

or

SELECT productid,productname from productsFullText
where
contains (*, 'x2000')

gives 1 hit.

SELECT productid,productname from productsFullText
where
productname like '%x2000%'

gives 7 hits.

I use the english wordbreaker and the FullIndex is populated with all
ItemCount.
Whats wrong in my setup

Signature

Regards
Henrik Juel

Hilary Cotter - 20 Feb 2007 13:09 GMT
Full-text search indexes words at word boundaries. With a like it will do a
pattern match. So full-text will return hits to x2000, whereas your like
statement will return hits to x20001, or wwwx2000.

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

> Running
>
[quoted text clipped - 19 lines]
> ItemCount.
> Whats wrong in my setup
Henrik Juel - 20 Feb 2007 19:11 GMT
Thx for the answer.

Just realised the difference from like and freetext which from the beginning
should have been obvious for me.

Too bad that there are no possiblity for using search in between
wordsboundaries by Full-text. Maeby I go for a mix of <Like> and <Freetext>
in a union complex.

Henrik

> Full-text search indexes words at word boundaries. With a like it will do
> a pattern match. So full-text will return hits to x2000, whereas your like
[quoted text clipped - 23 lines]
>> ItemCount.
>> Whats wrong in my setup
 
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.