def search_key_for_item(item):
    """Generate a string search key for an item"""
    elements = []    
    if item.service:
        elements.append(item.service)
    if item.comments and len(item.service):
        elements.append(item.comments)
    return u' '.join(elements)