I've optimized things as much as I could by building a number of 
collections and limiting each to a specific doc type.

Next question!!

I'm trying to return a few sentences from each doc with the search term 
highlighted. So, I use "ContextPassages" like below.

<cfsearch name="searchResults"
    collection="docDEPO"
    criteria="#form.sch#"
    ContextHighlightBegin="<b>"
    ContextHighlightEnd="</b>"
    ContextPassages="4"
    ContextBytes="500">

However, very rarely is #searchResults.context# actually giving me 
anything. Out of 30 returned documents, maybe only 3 return content for 
#searchResults.context#. Usually it's empty/null/

Suggestions?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360462
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to