Support for multiple queries and multiple scores