Relationship fields indexed for Elastic search
Learn more about the fields that are indexed for Elastic search.
Let's take a look at a list of fields that are indexed for relations. The following table lists these fields:
Field | Type | Entity Mapping (RelationTO) | Description | Present by default? | Example - how to filter |
---|---|---|---|---|---|
id | keyword | $.uri (short) | Relationship ID | Yes | equals(id,'relations/00Eusjv') |
timestamp | date | $.createdTime | Yes | gt(timestamp,1694167276) | |
type | keyword | $.type.uri (short) | Relationship type | Yes | equals(type,'configuration/relationTypes/Family') |
tags | text_multifields | $.tags | No | contains(tags,'ANY_TAG') | |
attributes | object | $.attributes.{attributeName} | Collection of the relationship attributes | Yes |
Specific attribute:
Search over all attributes:
|
attributes_end_date | date | $.crosswalks.deleteDate | Date when relation stops being active | No | gt(attributes_end_date,'1622487600000') |
__location | geo_point | $.type.geoAttributes | No | exists(__location) | |
geoLocation | geo_shape | $.type.geoAttributes | Relationship geolocation attribute | No | range(geoLocation,'12.43,64.85','1') |
businessProcessData | object | $.businessProcessData | Collection of attributes related to business processes | No | range(businessProcessData.ANY_ATTR,'15','18') |
consolidatedRating | text | $.consolidatedRating | No | gt(consolidatedRating,'10') | |
startObject | text | $.startEntityURI (short URI) | ID of startObject entity | Yes | equals(startObject,'entities/130xSPbo') |
endObject | text | $.endEntityURI (short URI) | ID of endObject entity | Yes | equals(endObject,'entities/130xSPbo') |
crosswalks_count | long | $.crosswalks.size() | Count of crosswalks | Yes | gt(crosswalks_count,'10') |