Adds `compound_search` method to search using the compound queries