Step 1: Use a Content Filter (Manual)

With this first option, we’ll use a Content filter to limit what is passed to the Search algorithm for indexing to only one entity per professional, instead of one entity per professional-location combination.

  1. Set up the location entities and link them to the professional entity. For a refresher, check out the Linked Entities training.
  2. In the configuration for the professionals vertical, make the geolocation of those linked facilities searchable. For a refresher, check out the trainings on making entity relationships searchable and enabling geolocation filters across entity relationships . This will return this professional entity for searches that are relevant to all their address locations. Note you can only add this in the JSON editor, which will look something like:

    {
      "verticals": {
        "professionals": {
          "searchableFields": {
            "c_practicingLocations.builtin.location": {
              "nlpFilter": true
            }
          }
        }
      }
    }
  3. Add/edit the saved filter for the professionals vertical to include only one entity per professional. You can use a “Yes/No” field that flags whether an entity is the primary professional entity or a unique entity, i.e. flag the entity you want to surface in search results. For a refresher on saved filters in Search, check out the Vertical settings training.

  4. (Optional) On the entity landing page, you can pull in the linked facility entities to show the addresses of all facilities this professional works at.

Feedback