Manage the search index of a namespace
Each namespace has an individual search index. The search index contains the fields that should be indexed for your things of this namespace. Thus, search queries can be filtered by these fields.
Indexable fields
thingId
policyId
definition (thing definition)
attributes and all sub-paths of attributes
features and all sub-paths of features
_created
_modified
_revision
The fields thingId and _created are the minimal indexed fields and can’t be deleted.
A field that is wanted to be indexed, can be added via either a path (features/myFeature/properties/myProperty) or as a complex expression (features/myFeature(properties/myProperty)). Indexing via a complex expression allows for indexing multiple paths in one expression (features/myFeature/properties(property1,property2))
Additionally, the field to be indexed can contain wildcards. The expression features/*/properties/temperature would thus index all temperature feature properties, independent of the featureId.
The indexed fields are, like the filter of a search query, case-sensitive.
In case you need to edit the search index via API, see the Solutions resource PUT /solutions/{solutionId}/namespaces/{namespaceId}.
Find details about the Search RQL filter at Parameters and operations.