Optimized API search to use profile stored in SOLR, and only fall back
to DB if absolutely necessary.