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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.3
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: