I'm still able to define a document type in 7.9. Is this a bug?

By adding a new document this way

    curl --location --request PUT 'http://localhost:9200/example1/product/1' \
    --header 'Content-Type: application/json' \
     --data-raw '{
     "title": "example title",
      "author": "example author",
     "category": "books"
     }'

I'm able to add document with "_type": "product", even this is deprecated according to https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html.
Is this a feature or bug?

It's expected behaviour. It so that people have time to switch over to no types.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.