Thinking sphinx search error

Hello All,
I wanted to implement sphinx search.
I have following models.
Blog # post model has column “channel_feature_id”
has_many :posts, :foreign_key => “channel_feature_id”