• [docs] Add wait_until_yellow to fix build failure

    The snippet in the docs creates and index and uses it with the
    _analyze api. The trouble is that if the index hasn't been created
    fully the _analyze API will fail. This adds a
    GET _cluster/health?wait_for_status=yellow
    which fixes the issue.
    
    While this does make the docs more cluttered, it also makes the snippets
    actually runnable.
    
    Closes elastic#18165
    nik9000 committed May 5, 2016