Search by profile characteristics

Implements search based on profile characteristics.