Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1502

Generate indexes on a permanent map/reduce collection before it's swapped

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.3
    • Affects Version/s: None
    • Component/s: None
    • None

      It would be great if it was possible to define indexes on an output collection of a map/reduce before the permanent output collection was swapped.

      This would be very useful for scenario's where an application uses map/reduced data that's re-generated periodically to for example display pre-calculated data to users. There are use cases where you want to select data in a huge map/reduced output and need indexes to make this perform well. I could supply our use case if that's interesting to you.

      If the collection would be swapped by the periodical updater after an index is generated performance would not be degraded by indexing because the index would already be in place.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            thijs Thijs Cadier
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: