You need to tell Verity to return the context. There is an attribute
to cfsearch called contextCategories. It defaults to 0. Set it to the
number of passages/sentences you want returned as the context.

On 7/30/05, Seamus Campbell <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I'm just looking at verity with MX7 and the new CF7 WACK book.
> 
> For some reason I don't understand I'm not getting the context
> field to work
> the relevant code from the book is:
> <cfoutput query="GetResults">
>      <td>#CurrentRow#</td>
>        <a href="#url#">#display#</a> (#score#)
>        <br>
>        <small>#context#</small>
>     </td>
>    </tr>
> </cfoutput>
> 
> I get all the fields except #context# - I've tried on my home
> server and my ISP's but I can't get any contexts.
> The link works so url and display are working as is score but not
> context
> 
> Is there something simple I've forgotten or am I misunderstanding
> how context works? The source code just shows a blank between the
> 2 small tags
> Any help gratefully accepted
> 
> Ta
> 
> Seamus
> 
> 
> Seamus Campbell   Boldacious WebDesign
> http://www.boldacious.com   ~~~~   [EMAIL PROTECTED]
> ph 02 6297 4883  mob 0410 609 267
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213339
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to