To configure default preferences for each service, add the below lines to your
Addressing.yaml under the preferences
section.
If you want to set a default preference for a service, then
add:
config:
default:
preferences:
maxResults: 1
Note: To override the default
preference of a particular service, set the configuration as shown below:
- For Autocomplete Service, add:
config: INTERACTIVE: preferences: maxResults: 5
- For Reverse Service, add:
config: REVERSE_GEOCODE: preferences: maxResults: 6
- For Parse Service, add:
config: PARSE: preferences: maxResults: 4
- For Verify Service, add:
config: VERIFY: preferences: maxResults: 7
- For Lookup Service, add:
config: LOOKUP: preferences: maxResults: 8
- For Geocode Service, add:
config: GEOCODE: preferences: maxResults: 3