You have to enable this by doing contextPassages="N" in your cfsearch.

http://www.cfquickdocs.com/?getDoc=cfsearch

On 2/23/07, Orlini, Robert <[EMAIL PROTECTED]> wrote:
> Isn't there a CONTEXT field that can be used in the results set of a CFSEARCH?
>
> I tried it according to the CF MX7 book by Ben Forta and Raymond Camden (p. 
> 1128) but it does not display anything. I could be doing something wrong of 
> course. The book description for the tag is: "Context summary, with search 
> terms bolded". See code below.
>
> Robert O.
> HWW
>
> <CFSEARCH NAME="Searchme"
>    COLLECTION="database, print"
>     TYPE="simple"
>         MAXROWS="10"
>         SUGGESTIONS="always"
>    CRITERIA="#FORM.searchstring#">
>
> <CFOUTPUT QUERY="Searchme">
> #Searchme.context#
> </cfoutput>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270600
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to