Search

The Global Search feature enables end users to search for features. Global Search searches layers and tables that have Global Search enabled. It returns a list of the features with attributes that match the user's search text.

Global Search is capable of searching multiple sources, including both map services and geocoding services, if the site has geocoding services configured. If a particular feature is returned by more than one source, it appears more than once in the results list. Duplicates are not removed from the results list. For more information about searching geocoders, see Geocoding Services.

The Global Search box and search results for a search term "Private School"

If you configure one or more search tables, Global Search can also search for non-spatial data that is stored in a relational database.

Layer Search and Instant Search

Global Search supports two methods for searching for features:

The results from the different search methods and services are aggregated. The results appear combined as a single results list. The viewer adds results to the list as the results are received. Because Instant Search is so fast compared to Layer Search, the results returned by Instant Search are usually at the top of the list. Layer Search results appear at the bottom of the list as the viewer receives them.

Enable Global Search

In order for end users to be able to search a layer's features, Global Search must be turned on for that layer. You must turn on Global Search for both Layer Search and Instant Search.

Global Search is turned off by default because not every layer has relevant search data. You must turn on Global Search for each layer that you want to be searchable. You must then activate Instant Search for each service that you want to use Instant Search rather than Layer Search.

When you turn on Global Search for a layer, by default, each field in the layer is searched. You can turn off Global Search for individual fields. If there are some fields that you do not want to be searched, turn off Global Search for those fields.

Global Search switches search on for both Layer Search and for Instant Search. If you are using Instant Search, and want to turn off search without disabling and then re-indexing the data, you can use Global Search to turn search on or off.

Enable Global Search for a Layer

You can use batch editing to enable Global Search for all the layers in a map service or folder.

To enable Global Search for a single layer:

  1. In Manager, edit the site that you want to configure, and then click Map in the side panel.
  2. There are two ways to enable Global Search for a single layer:

    Shortcut Method

    1. Click the layer's drop-down menu .

    2. Select Include in Global Search.

    By Editing the Layer

    1. In the list of map services, use the Expand icon as needed to show the layers that you want to configure.

    2. Click Edit next to the layer.

      For group layers, you must edit the sublayer, not the group layer.

    3. On the Details tab, scroll to the Supported Operations section.

    4. Select the Include in Global Search checkbox.

  3. Click Apply Changes.

Disable Global Search for Particular Fields in a Layer

To disable Global Search for particular fields in a layer:

  1. In Manager, edit the site that you want to configure, and then click Map in the side panel.
  2. Go to the Fields tab.

  3. Click Add/Remove Fields.

  4. In the Excluded Fields column, select each field that you want to include in Global Search.

    To select multiple fields, hold the Ctrl key down while you select each field.

  5. Click the Include button between the two columns.

  6. Click OK.

    Each field that you moved to the Included Fields column is listed individually and has the Include in Global Search setting turned on . There is an <all other fields> item at the top of the list.

  7. Press the Include in Global Search icon beside <all other fields>.

    The Include in Global Search setting is turned off for the fields that you left in the Excluded Fields column. these fields will not be searched by Global Search.

  8. Click Submit Field Changes.