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 / December 2008

Tip: Looking for answers? Try searching our database.

Full Text Search Result

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vishal Dalsania - 01 Dec 2008 15:59 GMT
Is it possible to retrive the search result to highlight the text where it
found the text searched?

Like google i mean.

Thanks,
Vishal
Hilary Cotter - 01 Dec 2008 16:06 GMT
You have to code this yourself.

> Is it possible to retrive the search result to highlight the text where it
> found the text searched?
[quoted text clipped - 3 lines]
> Thanks,
> Vishal
Vishal Dalsania - 01 Dec 2008 16:22 GMT
Thank you for the reply.

How do i code it? Because i am querying a binary field in SQL server which
contains files of type word, excel, powerpoint and PDF.

Is there any starting point for this?

Thanks,
Vishal

> You have to code this yourself.
>
[quoted text clipped - 6 lines]
>> Thanks,
>> Vishal
Hilary Cotter - 01 Dec 2008 17:15 GMT
I meant containstable.

What does your search paragraph look like?

> Thank you for the reply.
>
[quoted text clipped - 16 lines]
> >> Thanks,
> >> Vishal
Vishal Dalsania - 01 Dec 2008 18:19 GMT
My column is Image data type with binary data. It contains word, excel,
powerpoint and PDF files.

Here is my search query

SELECT doc.DocumentID, doc.DocData, doc.DocName, doc.DocText, doc.Extension,
ftKey.*

FROM tblDocuments AS doc

INNER JOIN FREETEXTTABLE(tblDocuments, DocData, 'search_string') AS ftKey ON
doc.DocumentID = ftKey.[KEY] ORDER BY Rank DESC

Thanks,

Vishal

>I meant containstable.
>
[quoted text clipped - 22 lines]
>> >> Thanks,
>> >> Vishal
Smokey Grindel - 05 Dec 2008 13:16 GMT
that's not an easy thing to code, trust me...

> My column is Image data type with binary data. It contains word, excel,
> powerpoint and PDF files.
[quoted text clipped - 39 lines]
>>> >> Thanks,
>>> >> Vishal
 
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.