Solved

CFSearch and context sensitive results

Posted on 2011-02-26
6
660 Views
Last Modified: 2012-06-22
I am using cfsearch to search pdf and Word documents.  I see that cfsearch returns information about the context with the search words highlighted using contextHighlightBegin and contextHighlightEnd.  Is there a way to highlight these words automatically when the user opens the pdf or Word docoument.

Thanks for the help
0
Comment
Question by:WestCoast_BC
  • 2
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dagaz_de
ID: 34995614
no, because that would mean that CF would modify your Documents, which is not possible.
0
 

Author Comment

by:WestCoast_BC
ID: 34997432
Do you know of other tools that could help me with this?  I know of DT search but I can't use it on my shared host (and it is expensive).

Thanks
0
 
LVL 3

Expert Comment

by:dagaz_de
ID: 35004925
No, i know no other Tool, sorry
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 25

Expert Comment

by:dgrafx
ID: 35009174
Are you familiar with CFDocument?

consult your cfdocs and I looked around a bit and found this link:
http://www.terrenceryan.com/blog/post.cfm/pulling-content-out-of-word-with-coldfusion-9

good luck ...
0
 

Author Comment

by:WestCoast_BC
ID: 35009822
Thanks

I just found the following that will solve my problem for PDF files:
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

When I open a pdf file I can pass the parameter search=wordList and then my search words will automatically be highlighted.

Now I just need to find something similar for Word documents
0
 
LVL 25

Accepted Solution

by:
dgrafx earned 500 total points
ID: 35009880
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now