Hi Kai I don't think there's any way to do this. At the very least, it's not part of the Sphinx API, and so Riddle isn't going to be any help. Perhaps ask on the Sphinx Forum and see if they've got anything useful to suggest? http://sphinxsearch.com/forum/
Good luck! -- Pat On 09/02/2011, at 6:32 PM, medihack wrote: > Hi. > > Sometimes I am more interested in the indexed data itself than in the > objects that contain them. > > Lets assume the following search > Post.search "foo" > Now I would like to get all distinct strings that matches foo in the > Post model and not the Post objects themself. Is there a way to access > that found data directly (maybe through using Riddle). > > I know that I could also extract that information from the returned > objects, but as I am interested only in distinct strings and the Post > model may have very often the same name attribute for example, I guess > it is not that performant. > > Best regards, > Kai > > -- > 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.
