Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix put mappings java API documentation #31955

Merged
merged 6 commits into from
Jul 17, 2018
Merged

Commits on Jul 11, 2018

  1. [Docs] Fix put mappings java API documentation

    The current docs of the put-mapping Java API is currently broken. It its current
    form, it creates an index and uses the whole mapping definition given as a JSON
    string as the type name. Since we didn't check the index created in the
    IndicesDocumentationIT so far this went unnoticed.
    
    This change adds test to catch this error to the documentation test, changes the
    documentation so it works correctly now and adds an input validation to
    PutMappingRequest#buildFromSimplifiedDef() which was used internally to reject
    calls where no mapping definition is given.
    
    Closes elastic#31906
    Christoph Büscher committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    abd314b View commit details
    Browse the repository at this point in the history
  2. Remove restriction on non-empty args in PutMappingRequest.buildFromSi…

    …mplifiedDef
    Christoph Büscher committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    48d993a View commit details
    Browse the repository at this point in the history
  3. iter

    Christoph Büscher committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    a1662d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2018

  1. iter

    Christoph Büscher committed Jul 16, 2018
    Configuration menu
    Copy the full SHA
    34514b2 View commit details
    Browse the repository at this point in the history
  2. iter

    Christoph Büscher committed Jul 16, 2018
    1 Configuration menu
    Copy the full SHA
    a2a7f0c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into fix-31906

    Christoph Büscher committed Jul 16, 2018
    Configuration menu
    Copy the full SHA
    34566a0 View commit details
    Browse the repository at this point in the history