Dan Pickett wrote: > I think this is probably due to the send call in translate of facet.rb > - I proposed and am still considering creating a translation field for > crc'd attributes like dates and strings in the generated > configuration. The indexed fields wouldn't be a problem because > they're already in the query. > Well, for :multi facets with integer values, the attribute_value in Facet#value is the correct one, so there should be no need to call translate (in fact, simply removing :multi from the "when :string, :multi" line in Facet#value does the right thing. I'd suggest prohibiting non-integer multi value facets on the front-end and then just making this small change to Facet#value on the back-end, otherwise we're left with the problem of trying to figure out which of the array of values to follow to the end in Facet#translate.
I'm working on this in my branch at http://github.com/leei/thinking-sphinx/tree/master --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
