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

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        fla Fernando Lopez made changes -
        Assignee Ken Zangelin [ kzangeli ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] FIWARE - Orion LD offset parameter does not provide any results after threshold FIWARE.Question.Tech.FIWARE - Orion LD offset parameter does not provide any results after threshold.
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]

          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: