When a mapping requires a discriminator column an index should be created for that column

Description

In mongodb, for example, the following mapping:

should create the following index (or something similar):

This should also happen with the deafult column (DTYPE column).
We should skip this step if a user has defined an index for the that column.

Environment

None

Assignee

Unassigned

Reporter

Davide D'Alto

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure