ui.modern.geolocation.enabled

Background

Control whether the search user’s current location should be derived from IP address and the MaxMind Geolite database.

If enabled, it sets the user’s current location in the data model.

Setting the key

Set this configuration key in the results page (preferred) or search package configuration.

Use the configuration key editor to add or edit the ui.modern.geolocation.enabled key, and set the value. This can be set to any valid Boolean value.

Default value

ui.modern.geolocation.enabled=true

Examples

Disable accessing user’s current location

ui.modern.geolocation.enabled=false