The only way to figure out which fields match the given query is to use the rank mode of fieldmask: http://freelancing-god.github.com/ts/en/searching.html#ranking
And then in each search result, you can get the field details from the matching_fields method (unless there's a method of the same name already defined on the model). Keep in mind you'll need the latest TS and Sphinx 0.9.9 proper or rc2. Hope this helps -- Pat On 16/04/2010, at 9:58 AM, Richard wrote: > Say I have an field from an associated model, is it possible to have > the field match(es) returned with the results? > > -- > 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.
