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

Allow Queries for limit String sizes

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

      Please add an option to limit maximum size of retrieved strings. The limit should apply to any STRING (or BLOB).

      Motivation:
      Our application parses data from MongoDB repositories that are populated by other application. Documents can have potentially large CLOB objects can be added to arbitrary points. The application retrieve the data, present the user with "summary" (e.g., for large strings only the first few characters of the CLOB are display, followed by "..."), same for arrays, or other complex objects. The full entry is expanded once the user choose a specific document, and part of the document.

      The above change will reduce the amount of data that need to be fetched on the original calls. Currently, 100X data has transferred from Mongo, since there is no way to cap the size of the CLOB, which could be anywhere.

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            yair.lenga@gmail.com Yair Lenga
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: