Document type hinted queries