Cheers for that Pat.

It works great.

Shaun



On Jan 22, 1:05 am, Pat Allan <[email protected]> wrote:
> Hi Shaun
>
> You can indeed do this - result.sphinx_attributes['attrib_name']
>
> Of course, this is only possible on results returned by a search request.
>
> --
> Pat
>
> On 21/01/2010, at 6:49 PM, Shaun wrote:
>
>
>
> > Hi
>
> > Is it possible to display the attributes that are kept in the index? I
> > have an attribute containing a computed number that would be very
> > useful displayed along with my results. Is this possible?
>
> > I have tried model.attribute_name with no luck.
>
> > Thanks in advance.
>
> > Shaun
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to