Thanks, that is an error in the docs and submitted a correction already. Your second syntax is the correct one.
-- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/777af59c-78dd-42c1-877c-7213dc3b6163%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
