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 / June 2006

Tip: Looking for answers? Try searching our database.

Using wilcards in a fulltext index

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kforem@hotmail.co.uk - 28 Jun 2006 08:54 GMT
Hello,

I have a fulltext indexed column which contains some like:

Section 0 Name
Section 1 Name

When I run a query like:

select *
from tbl_FullTextData
where contains(name,'"section 0"')

It returns records, but when I run:

select *
from tbl_Schemenamesearch
where contains(name,'"section 0*"')

It does not return anything. Not sure why this is happening.
kforem@hotmail.co.uk - 28 Jun 2006 09:38 GMT
> Hello,
>
[quoted text clipped - 16 lines]
>
> It does not return anything. Not sure why this is happening.

Have found the answer:

Need to put a space after the wildcard e.g.:

select *
from tbl_Schemenamesearch
where contains(name,'"section 0* "')
Hilary Cotter - 28 Jun 2006 12:10 GMT
Note that all terms in your search argument will be wildcarded - 0 and
section.

Signature

Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

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

>> Hello,
>>
[quoted text clipped - 24 lines]
> from tbl_Schemenamesearch
> where contains(name,'"section 0* "')
 
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.