Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-17879

FIWARE.Question.Tech.FIWARE - Orion LD offset parameter does not provide any results after threshold.

    Details

      Description

      Created question in FIWARE Q/A platform on 14-06-2021 at 10:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/67968349/fiware-orion-ld-offset-parameter-does-not-provide-any-results-after-threshold

      Question:
      FIWARE - Orion LD offset parameter does not provide any results after threshold

      Description:
      I am using FIWARE Orion-LD in order to store Social Media posts, whose number exceeds 300,000.
      I would like to access all the entities of type SMPost which belong to a specific SMCollection.
      GET <orion_host>:1026/ngsi-ld/v1/entities?options=keyValues&q=belongsToCollection==%22urn:ngsi-ld:SMCollection:XX%22&type=SMPost&limit=1000&offset=XXX&options=count
      For this purpose, I am employing pagination, as instructed in the official documentation, using the parameters limit and offset. Using the parameter options=count, I confirm that indeed all the entities are correctly inserted in the MongoDB.
      Everything goes well until the offset is set to 34000, then, when exceeded, an empty list is returned, as a response.
      Is this a known issue? Could you please provide an alternative way that I could get this data?
      Thank you very much in advance for your response.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3d 1 Backlog Manager 18/Jun/21 7:31 AM
        In Progress In Progress Closed Closed
        1d 1 Backlog Manager 19/Jun/21 7:31 AM

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: