Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
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
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
HD-Enabler | Unknown [ 10910 ] | Orion [ 10875 ] |
HD-Chapter | Unknown [ 10845 ] | Data [ 10838 ] |
Assignee | Fermín Galán [ fermin ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] Filter by attribute value in Orion Context Broker does not work | FIWARE.Question.Tech.Data.OrionContextBroker.Filter by attribute value in Orion Context Broker does not work |
HD-Node | Unknown [ 10852 ] |
Fix Version/s | 2021 [ 12600 ] |