Sure, you could do that. You'll need to write a snippet of SQL though… are you using MySQL or PostgreSQL?
-- Pat On 22/09/2011, at 4:43 PM, mohitnegi wrote: > Hi Pat, > > Another thought, Is there a way while indexing can i convert my float > attribute to integer, > > i.e. in sphinx search they will be stored as a integer values > > something like > > has score(:overall_score).to_i, :as=>integer_overall_score, :type=>:integer > > > (:overall_score is a float field in database) > > > then i can have a search on multivalue attribute. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/thinking-sphinx/-/r3_eJcRt-P0J. > 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.
