Bucket type on index queries