Sanitize requests

You must take care when sanitizing requests:

  • If dynamic mapping is on, arbitrary keys must not be allowed.
  • Index names can contain patterns.
  • Expensive searches can cause OutOfMemory errors.