We use Algolia for our top search in most cases (some cases exist where we dont). To make this more powerful and to help Algolia return better results for users, we now also include a userToken that helps Algolia filter out and include certain results based on the users searches before.
Note - we don't send them any personal data, literally just an ID which is pretty useless in all cases, but helps identify users.