Skip to content

Commit 8e57dbb

Browse files
authored
Acrolinx fixes
1 parent cbaa576 commit 8e57dbb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/cosmos-db/gremlin/access-system-properties.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Access system document properties vian Azure Cosmos DB Graph
3-
description: Learn how read and write Azure Cosmos DB system document properties via API for Gremlin
2+
title: Access system document properties
3+
titleSuffix: Azure Cosmos DB for Graph
4+
description: Learn how to read and write Azure Cosmos DB system document properties via the API for Gremlin.
45
ms.service: cosmos-db
56
ms.subservice: apache-gremlin
67
ms.topic: how-to
@@ -28,7 +29,7 @@ g.withStrategies(ProjectionStrategy.build().IncludeSystemProperties('_etag').cre
2829

2930
## Time-to-live (TTL)
3031

31-
If collection has document expiration enabled and documents have `ttl` property set on them, then this property will be available in Gremlin traversal as a regular vertex or edge property. `ProjectionStrategy` isn't necessary to enable time-to-live property exposure.
32+
If collection has document expiration enabled and documents have `ttl` property set on them, then this property is available in Gremlin traversal as a regular vertex or edge property. `ProjectionStrategy` isn't necessary to enable time-to-live property exposure.
3233

3334
* Use the following command to set time-to-live on a new vertex:
3435

@@ -48,13 +49,13 @@ If collection has document expiration enabled and documents have `ttl` property
4849
g.V().hasId(<ID>).has('pk', <pk>).property('ttl', <expirationTime>)
4950
```
5051

51-
* Applying time-to-live property on vertices does not automatically apply it to edges. Because edges are independent records in the database store. Use the following command to set time-to-live on vertices and all the incoming and outgoing edges of the vertex:
52+
* Applying time-to-live property on vertices doesn't automatically apply it to edges. Because edges are independent records in the database store. Use the following command to set time-to-live on vertices and all the incoming and outgoing edges of the vertex:
5253

5354
```console
5455
g.V().hasId(<ID>).has('pk', <pk>).as('v').bothE().hasNot('ttl').property('ttl', <expirationTime>)
5556
```
5657

57-
You can set TTL on the container to -1 or set it to **On (no default)** from Azure portal, then the TTL is infinite for any item unless the item has TTL value explicitly set.
58+
You can set time to Live (TTL) on the container to -1 or set it to **On (no default)** from Azure portal, then the TTL is infinite for any item unless the item has TTL value explicitly set.
5859

5960
## Next step
6061

0 commit comments

Comments
 (0)