Spring Data MongoDB
  1. Spring Data MongoDB
  2. DATAMONGO-188

Allow means to disable repository infrastructure creating indexes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 M3
    • Fix Version/s: 1.0 M4
    • Component/s: Repository
    • Labels:
      None

      Description

      Currently the only way to disable the repository creating indexes is creating a custom sub-class of MongoRepositoryFactoryBean and reimplement createRepositoryFactory(). We should add a flag to be able to simply skip adding the IndexEnsuringQueryCreationListener. This flag should be exposed to the namespace as well. We should probably also default to not creating the indexes.

        Activity

        Hide
        Oliver Gierke added a comment -

        Fix should be available in tonight's snapshot.

        Show
        Oliver Gierke added a comment - Fix should be available in tonight's snapshot.

          People

          • Assignee:
            Oliver Gierke
            Reporter:
            Oliver Gierke
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 1.5h
              1.5h