la-haute-societe / craft-elasticsearch

Bring the power of Elasticsearch to your Craft CMS projects
Other
18 stars 14 forks source link

Disable the deprecated include_type_name parameter for ES8 #34

Open jeffreyzant opened 1 year ago

jeffreyzant commented 1 year ago

This pull request resolves an error for the deprecated "include_type_name" parameter when indexing to an Elasticsearch 8 cluster. It also keeps the old logic so the patch is backwards compatible the same way the yii2-elasticsearch package does it.