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 18-03-2015 at 13:03
Please, ANSWER this question AT http://stackoverflow.com/questions/29122307/is-it-possible-to-run-a-query-using-orion-where-the-searching-criteria-is-given
Question:
Is it possible to run a query using Orion where the searching criteria is given by attributes value?
Description:
As I create entities in an Orion server, I can search by ID, as flat or using regular expressions:
http://<localhost>:1026/v1/queryContext
Content:
{
"entities": [
],
"attributes": ["temperature","humidity"]
}
In the above example I'd get all objects of type "Sensor" whose ID starts with "sensor_1", and their attributes "temperature" and "humidity". I wonder if there is any way that would allow me to search by specific attribute value, for example to get those sensors whose humidity is over "60.2", or this selection must be done over the retrieved data queried by ID.
2015-10-24 09:05|CREATED monitor | # answers= 1, accepted answer= True