3,845 pts.
 Make Search terms highlight in documents
If I use the normal search bar in a database, the search terms are highlighted in the returned documents. When I use the FTSearch method in an agent, returned documents do not have highlighted search terms, even if I check off the setting in the Agent properties to "Store highlights in documents." Does anyone know how to make highlights work with an agent?

Software/Hardware used:
ASKED: April 3, 2008  4:17 AM
UPDATED: August 14, 2008  1:01 PM

Answer Wiki:
I think that agent option might only work if the agent's search is in the Document Selection section of the agent -- not for searches you may do within the back-end agent code -- and even then, it might only work for agents invoked via the search bar. I have to admit I've never tried this option. If you have a programmed query that your agent has to calculate the query string, you would need to find some way to do the search in the UI rather than in the back end. This is possible in a composite application in 8.0.1, or you might find some ideas in the free download that accompanies <a href="http://drh02.eapps.com/eview/viewR6.nsf/ff8165e0a7b06fd085256536001117db/b7476e62cc14852685256ed60054104e?OpenDocument">this article</a>.
Last Wiki Answer Submitted:  April 3, 2008  3:16 pm  by  AGuirard   520 pts.
All Answer Wiki Contributors:  AGuirard   520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thanks, AGuirard. I’ll be sure to ask for an example of this when I go for ND8 training so I will know how to implement it in a composite app. I have not reviewed the example .nsf yet to see if it they would apply. This ehnancement has been wanted so long, I don’t see a problem delaying it until we implement ND8 if it is a straight-forward solution there.

 3,845 pts.