Hi Pat,
Actually i have a model called profile and each profile can have multiple
scores, so when i am building index on profile model
it looks like
has score(:overall_score)
where overall_score is a filed in score model.
now there is a has_many relationship between profile and score, so it's
taking all the score for particular profile.
now when i am using Profile.search :with=>{:overall_score=>{22.9..99.9)}
then this query is only searching the first value and ignoring the other
score for that particular profile.
--
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/-/dpcaJEtCJUMJ.
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.