Hi Steve Unfortunately, Sphinx doesn't return field values, only attributes - so this isn't possible. Sorry.
-- Pat On 19/12/2009, at 10:16 AM, Steve H wrote: > OK so I'm aware that I can get to the sphinx_attributes hash like > this: > > businesses = Business.search "Pizza" > businesses.first.sphinx_attributes > > But we're putting in calculated values to fields that we want to do in > batches and not in realtime. So we want to be able to do something > like: > > businesses.first.sphinx_fields["my_calculated_score"] > > Is this possible? > > -Steve > > -- > > 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. > > -- 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.
