query_only and location_only