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

Tip: Looking for answers? Try searching our database.

Search and Index Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ChuSoft - 06 Sep 2007 20:14 GMT
We need to index and search on "(specific text here)".

How can we do a free text search using the above.
Hilary Cotter - 07 Sep 2007 11:55 GMT
full text index your table on the columns you wish to search and then do
this

select * from tablename where freetext(*,'"(specific text here)")

Signature

RelevantNoise.com - dedicated to mining blogs for business intelligence.

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

> We need to index and search on "(specific text here)".
>
> How can we do a free text search using the above.
ChuSoft - 08 Sep 2007 01:08 GMT
Try it and it returns rows that does NOT have the "(some text here)".

It all rows that have "some text here"

> full text index your table on the columns you wish to search and then do
> this
[quoted text clipped - 4 lines]
>>
>> How can we do a free text search using the above.
Hilary Cotter - 08 Sep 2007 01:57 GMT
I am sorry I misunderstood you question. Basically the brackets are not
indexed and are ignored in searches.

Signature

RelevantNoise.com - dedicated to mining blogs for business intelligence.

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

> Try it and it returns rows that does NOT have the "(some text here)".
>
[quoted text clipped - 8 lines]
>>>
>>> How can we do a free text search using the above.
ChuSoft - 10 Sep 2007 16:57 GMT
Is there anyway to index and search on the phrase with brackets?

>I am sorry I misunderstood you question. Basically the brackets are not
>indexed and are ignored in searches.
[quoted text clipped - 11 lines]
>>>>
>>>> How can we do a free text search using the above.
Hilary Cotter - 11 Sep 2007 03:06 GMT
try this:

select * from tablename where freetext(*,'"(specific text here)"')
and charindex('"(specific text here)",MyColumn) >0

Signature

RelevantNoise.com - dedicated to mining blogs for business intelligence.

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

> Is there anyway to index and search on the phrase with brackets?
>
[quoted text clipped - 13 lines]
>>>>>
>>>>> How can we do a free text search using the above.
 
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.