added the alternative of primalSolrQueries in retrieval