

# SearchAgentContextResultEntity

One SearchAgentContext result.

## Contents
<a name="API_SearchAgentContextResultEntity_Contents"></a>

 ** entityType **   <a name="context-Type-SearchAgentContextResultEntity-entityType"></a>
Specifies whether this result is a node or an edge. Valid values:  
+  `NODE` - The result is a node. This is the only value that AWS Context returns.
+  `EDGE` - The result is an edge.
Type: String  
Valid Values: `NODE | EDGE`   
Required: Yes

 ** score **   <a name="context-Type-SearchAgentContextResultEntity-score"></a>
Relevance score indicating how well this entity matches the query.  
Type: Double  
Required: Yes

 ** edgeId **   <a name="context-Type-SearchAgentContextResultEntity-edgeId"></a>
Identifier of the matched edge, set when this result is an edge (at most one of nodeId or edgeId). Edge search isn't supported, so AWS Context doesn't set this member. An edge document indexed by a custom ontology is returned with neither nodeId nor edgeId set.  
Type: [EdgeIdentifier](API_EdgeIdentifier.md) object  
Required: No

 ** nodeId **   <a name="context-Type-SearchAgentContextResultEntity-nodeId"></a>
Identifier of the matched node. Set when this result is a node (at most one of nodeId or edgeId).  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Pattern: `[\w\-\.#:@/%~]+`   
Required: No

 ** properties **   <a name="context-Type-SearchAgentContextResultEntity-properties"></a>
Arbitrary key-value properties stored on the entity.  
Type: String to [AnyValue](API_AnyValue.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

 ** summary **   <a name="context-Type-SearchAgentContextResultEntity-summary"></a>
Human-readable description or summary of the entity.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Required: No

## See Also
<a name="API_SearchAgentContextResultEntity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/SearchAgentContextResultEntity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/SearchAgentContextResultEntity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/SearchAgentContextResultEntity) 