Using doc values to optimize your queries