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

Add default value to doc_type in index method as it is by default set to '_doc' #27

Merged
merged 2 commits into from
Oct 6, 2019

Commits on Sep 30, 2019

  1. Add default value to doc_type in index method as it is by default set…

    … to '_doc',
    
    as while mocking with es 7.x it fails if we do not add the doc type specifically
    when calling the index method with the index mock to accept doc_type by default
    to _doc as with elastic search 7.x the value is set to _doc by default,
    and when mocking the index method we do have to pass the doc_type as mandatory
    mohantyashish109 authored and Ashish Kumar Mohanty committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    f56ec6a View commit details
    Browse the repository at this point in the history
  2. Add unit test

    mohantyashish109 authored and Ashish Kumar Mohanty committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    e576f2c View commit details
    Browse the repository at this point in the history