Tech Blog Menu

< Back

6 Tips To Help You Design A Good People Search Experience

By

As a Solution Architect, I recently had to help design and evaluate quite a few different people search pages, both public (e.g., lawyer or doctor search), or in intranet environments (e.g., employee directory).

Doing so many people search implementations one after the other really made me think about the different ways in which searching for people is different than searching for documents or products.

This article will focus on the public people search pages, and how to best design them.

Do note that most of these tips are specifically tailored to Coveo. However, the same principles can be applied with different search providers, though the exact way to achieve this might be more complex.

What Is A Public People Search Page?

A public people search page is a search page designed to let people — usually clients — either find someone specific, or find someone based on their needs.

Usually, the result page itself will contain the contact information for that person (either phone number or email address), some tags to indicate their areas of expertise, as well as a link to access their full profile.

The page will also usually feature filtering mechanisms to help people refine their requests. It’s also likely that the person’s location will be taken into account during the query, to rank the people closest to the end user higher in the result list.

One of the most important distinctions in my opinion is that a people search page has to answer to two different audiences: the external users searching for someone on the page, and the people on the page themselves, who might directly benefit from being ranked higher in the search results. Keeping the balance between these two audiences is key to designing a good people search experience.

Document Search versus People Search

Another important difference is that the people search page will usually have a result template with most of, if not all of the relevant information on the result templates. This means that, a lot of times, there is no need to click on the results, as the information you need (e.g., phone number or email address) is already available directly from the page.

Without clicks, Coveo Machine Learning cannot know that the user’s query was successful, and will thus not learn from that event as it is an unsuccessful one.

Now, I am definitely not advising that you should hide this kind of relevant information from the result templates to force the users to click on the results — on the contrary; we want end users to find what they are looking for as quickly as they can. But you do need to keep in mind that Machine Learning is not going to be as effective here as it would be on your other search pages.

How Do You Design The Experience?

Keeping in mind the differences stated previously, here is how you design a search experience for a people search page:

1. Use Card Layouts With Big Pictures

In a classic document-oriented search page, you usually want to have the result in a list, with descriptions (or excerpts) that run on and highlight the relevant sections of the document based on the user’s query.

However, a people search page should show the end users the picture of the person they are searching in a grid, not in a list.

This allows the users that know who they are looking for to more easily scan the result page. The excerpt component is also less relevant in this scenario, as it is less likely that people will search for details of the person’s profile, as opposed to searching for their name or for their areas of expertise. However, depending on the use case, it can still be a good idea to keep it.

People Search With Cards

2. Sort In Alphabetical Order By Default; Switch To Relevance When There Is A Query

When searching for people, users expect to see a directory in alphabetical order (usually by last name). This is especially expected of the people on the page, who are likely to want to understand the exact reasons why their profile is ranked where it is.

Usually, Coveo recommends that you sort results by Relevance by default. However, it can be hard to explain to the people on your search page why their profile is not in the top results, as explaining relevance is not always a black and white matter (especially when you add Machine Learning in the equation).

For this reason, it is reasonable to say that sorting by alphabetical order is the best way to go.

That being said, when the end users is searching using a query, they want to have the most relevant results first. For this reason, it is a good idea to implement logic that switches the sort option based on whether the user has performed a query.

While Coveo does not have an out-of-the-box component to do this, you can change the sort parameter at query time, by intercepting the query (see Query Events), and changing the Coveo State parameter to reflect this change.

3. Turn Off Automatic Relevance Tuning

The Coveo Machine Learning Automatic Relevance Tuning model is a machine learning model that allows results to be reranked or injected based on previous user’s interactions. While this is a boon for finding products or documents, it isn’t the best experience when activated on a people search page.

Specifically, what you want to avoid is to have people be injected on the result page when they are not supposed to be there.

One scenario I saw this happening with was in a client (non-production) environment, where searching for the name of someone would return both the person you are looking for, and another person that was injected by Machine Learning. Worse than that, the person injected by Machine Learning happened to have a name which was alphabetically before the person queried, and since they were still working with alphabetical sort, the injected person was showing up first in the list despite being irrelevant.

For this reason, it’s better to not implement ART for your people search pages.

Another option would be to ensure your Machine Learning model has the Match the query option enabled (see Match the Query). This way, no result will be injected if they do not at least match the query. Do note that this would still rearrange the order of the results when the Relevance sort is selected.

4. Taking Geolocation Into Account

This recommendation does not apply to all use cases, but can be extremely beneficial in other cases.

When a user is searching for someone, it is likely that they are looking for someone within their area. While an oncologist from three states away might be a good fit for your user, it’s more likely they will prefer to meet with an oncologist from the town closest to them.

For this reason, you will likely want to implement a way to boost the people that are within their area, or to use a function to decide how many points to add based on the distance.

Coveo supports both of these options, using Ranking Functions. The exact function you will want to integrate depends on your specific use case, as well as the data you are working with.

Also note that you can add the option to sort by distance, bypassing relevance. While I don’t believe this should be the default option, I think end users might appreciate having the option presented to them.

5. Consider Mixing Field Suggestions And Query Suggestions

Query Suggestions and Field Suggestions

Coveo offers a few ways to suggest queries to end users. We usually recommend using only Machine Learning Query Suggestions, as it learns from end user interactions and continually improves to present the most relevant suggestions to the users. However, there exists another — more static — way of suggesting queries: field suggestions.

By implementing field suggestions, you can suggest the names of the people on the page as the user is typing. I believe people search pages are better suited for field suggestions because, for a significant portion of your audience, your users are looking for a specific person. Enabling field suggestions thus allows a form of autocomplete to their queries without requiring previous users to have already searched for those people and clicked on their profiles.

However, you usually have another significant portion of your audience that are not searching for specific people. For this reason, you should also enable query suggestions.

Thankfully, both mechanisms can coexist, by enabling both options. The default behaviour is that the query suggestions (those powered by Machine Learning) will be at the top of the suggestion list, while suggestions based on the field value will follow, usually marked by a title to distinguish them.

For more information on both of those functionalities, see Providing Search Box Suggestions.

6. Find Ways To Handle Hypocorisms

Hypocorisms — or nicknames — are not automatically understood by Coveo. This means that searching for “Mike” will not return all Michael’s in your index — it will only return people with Mike in their names or descriptions.

There are two main approaches to fix this. Feel free to use a mix of both methods for ideal results.

Option 1. Add a field specifically for the nicknames.

This allows the people on the profiles to set their preferred surnames, and this field to be queried against by end users.

For example, while some people called “Alexander” might prefer to go by “Alex”, some might prefer “Xander” or even “Lex”. Adding a field to let users enter their preferred surname not only allows end users to search for those surnames to find them, but also lets your professionals control the specific surname they want to use.

However, in certain scenarios, it’s already hard enough to get people to enter up-to-date information on their profile, so having them enter all of their surname alternatives might be even worse.

Option 2. Add thesaurus rules.

Coveo allows you to add thesaurus rules to expand or replace part of the end user’s query, allowing you, for example, to expand “Mike” to “Michael”, so users can find all Michael’s by searching “Mike”. To learn how to do this, see Adding and Managing Query Pipeline Thesaurus Rules.

I would not recommend to add all of your rules at once. Instead, it’s better to track what people are searching for (through the analytics) and adjust the thesaurus rules based on the content gaps you found. To learn how to easily identify your content gaps with Coveo Cloud, see Identifying Content Gaps.

There’s also something to keep in mind with this solution. People will often write which schools they went to in their profiles, and school names often have names of people in them. For example, if a lawyer in your firm studied at John Hopkins University, then searching for “John” will return their profile in the results, even if they are not called John. On top of that, if you added thesaurus rules to, for instance, expand “Johnny” to “John”, then searching for “Johnny” would return all people who went to John Hopkins, which could be considered irrelevant or unreliable search by some end users. This is something to keep in mind when adding the thesaurus rules, to ensure that you are not hindering the relevance too much by adding your rules.

Conclusion

Implementing a people search page is a bit different from implementing your run-of-the-mill document or web page search. However, while a few things are different, the same general relevance principles apply.

Next time you are looking to implement a public page to search for people, keep those recommendations in mind, and you should end up with a search experience that is more relevant and well adapted to your end users.