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

FIWARE.Question.Tech.Data.OrionContextBroker.Filter by attribute value in Orion Context Broker does not work

    Details

      Description

      Created question in FIWARE Q/A platform on 29-09-2016 at 10:09
      Please, ANSWER this question AT http://stackoverflow.com/questions/39765040/filter-by-attribute-value-in-orion-context-broker-does-not-work

      Question:
      Filter by attribute value in Orion Context Broker does not work

      Description:
      I do not understand why but for some cases filter does not work.
      Below is my example:

      v2/entities?type=carparks&q=name==Parking Tina Balice
      Krakow&options=keyValues

      returns:

      [

      { "id": "15217701", "type": "carparks", "agglomerations": "1", "name": "Parking Tina Balice Krakow" }

      ]

      The above axample works correctly but second query does not work:

      /v2/entities?type=carparks&q=agglomerations==1

      This query returns empty string.

      How to filter out this condition:

      type = carparks and agglomerations==1

      for this object?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-29 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-29 12:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-29 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-29 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-30 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-30 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: