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

        Hide
        backlogmanager Backlog Manager added a comment -

        2021-06-15 05:31|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2021-06-15 05:31|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-06-18 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-06-18 05:31|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-06-19 05:31|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-06-19 05:31|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          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: