Performance Hints - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (REST)

Product type
Software
Portfolio
Verify
Product family
Spectrum
Product
Spectrum > Geocoding > Enterprise Tax
Spectrum > Web Services
Spectrum > Spatial > Spectrum Spatial
Spectrum > Spectrum Platform
Spectrum > Quality > Addressing
Spectrum > Quality > Spectrum Quality
Spectrum > Spatial > Spectrum Spatial Insights
Spectrum > Discovery
Spectrum OnDemand
Spectrum > Dataflow Designer
Spectrum > Spatial > Spectrum Spatial Analyst
Spectrum > Quality > Context Graph
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (REST)
Copyright
2024
First publish date
2006
ft:lastEdition
2024-07-17
ft:lastPublication
2024-07-17T23:23:16.481321
The performance parameters related to the Global Type Ahead service are listed below.
  • Use AutoComplete control with a built-in delay and minimum length. A delay of 200 ms and a minimum length of 5 typically works well.
  • While a user-oriented delay setting provides the best performance compromise between User Experience and Performance, a simpler alternative is to send API requests every other character typed.
  • The default number of candidates to return is 10. You may increase this up to 99, although it may slow down the typing experience's perceived performance.
  • Global Type Ahead API will only return results once the input is complex enough to return a meaningful response.

    For example, an input of '12' will not return the first 10 addresses that start with 12. There needs to be a fragment of a street name included with it, such as '12 Cot'.

  • If you are calling with JavaScript and using REST GET, most browsers will cache pre-flight checks based on the URL, not the domain. As typeahead changes the URL with each character typed, the browser will likely call a pre-flight check with each call. To get around this, use REST POST as the URL will remain the same.