Thanks for the reply.
It is not working... 
Is it possible to link people to segments (table) since tvShowHost table is 
for the host of the show not the guests and i want to have informations on 
the guests.

*tables*

*tvShows* : name, channel
>
*episodes* : tv_show_id, broadcast_date, segment_id
>
*segments* : episode_id, name, broadcast_date, tv_show_id 
>
*personSegments* : person_id, segment_id
>
*people* : gender, alignment, ethnicity
>

The search is done on all models not just Person model:

> @results = ThinkingSphinx.search s, 
>                                          :with     => filters, 
>                                          :conditions =>  condition,  
>                                          :order    => 'model_order ASC ', 
> #order result by model
>                                          :per_page => 100000
>

 Thanks
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to