Uploaded image for project: 'Spring Data MongoDB'
  1. Spring Data MongoDB
  2. DATAMONGO-2188

Add configuration option to enable/disable automatic index creation.

    XMLWordPrintable

    Details

      Description

      Over time, we found that our auto-index creation feature causes more downstream issues than it actually solves. We constantly get requests to customize indexing in the sense of requirements that oppose each other.

      The underlying issue is that indexing requires a lot of customization in terms of index definition and the time at which indexes are created. We're going to deprecate this feature and recommend using the API to derive/create index definitions and to use the API to create actually indexes.

      Spring Data MongoDB does not aim for being a DDL tooling but rather improve development efficiency.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mp911de Mark Paluch
              Reporter:
              mp911de Mark Paluch
              Last updater:
              Mark Paluch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: