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


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


could any one provide solution pls?