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

Expose an API to return a set of paths available with CEHistogram

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      Currently, the only way to tell if a path is available for histogram CE is via StatsCatalog::getHistogram(). However, it is inefficient to confirm the availability via trial-and-error.

      To allow CBR easier to determine if a path is available for histogram CE, this ticket suggest to expose an API to return the set of available field paths. The implementation can be filing a FindRequest to system collection and then cache the results (like getHisotgram() does today).

            Assignee:
            Unassigned Unassigned
            Reporter:
            chii.huang@mongodb.com Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: