in acts_as_solr how find data from two table at a time with some conditions

Hi,

   I am using act_as_solr as a search engine and i want to know how to
search content from two tables with some conditions
like where conditions in our mysql query

thanks,
-pab

could any one provide solution pls?