question: public QueryResponse search ( Resource resource , SolrQuery query ) throws SolrServerException , IOException { String idQuery = termQuery ( SearchFields . URI_FIELD_NAME , SearchFields . getResourceID ( resource ) ) ; query . setQuery ( query . getQuery ( ) + " AND " + idQuery ) ; return search ( query ) ; }
target:  Evaluates the given query only for the given resource.