pimcore / generic-data-index-bundle

Other
4 stars 4 forks source link

Same index name on document and dataObject: document #237

Closed morgannilsson closed 3 weeks ago

morgannilsson commented 3 weeks ago

Question:

I just noticed that we have the same index name: pimcore_document on both Documents and our DataObject class: Document. The Opensearch documents differ with "elementType": "document", vs "elementType": "dataObject". The id is not unique either between Documents and DataObjects?

So document, asset and data-object-folder are reserved words, not to used for DataObjects?

fashxp commented 3 weeks ago

see https://github.com/pimcore/generic-data-index-bundle/pull/229 ... will be fixed in 2.0.0.

morgannilsson commented 3 weeks ago

Ah, I did not look at the merged issues. No backport for 1.2.2 is planned?

fashxp commented 3 weeks ago

it is not possible, as it would be a change of index name aka a bc break.