partition contact information for batch query