Solved

CFSearch and context sensitive results

Posted on 2011-02-26
6
666 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

679 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