You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/05/26 08:53:29 UTC
[couchdb-documentation] branch master updated: Add missing word
"key" in "What is a partition?"
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new d55bf31 Add missing word "key" in "What is a partition?"
new 6b1cd41 Merge pull request #549 from Frederik-Baetens/patch-1
d55bf31 is described below
commit d55bf31f4976ca92c2cda2f06a783ea16e1a0e8f
Author: Frederik-Baetens <ba...@gmail.com>
AuthorDate: Sat May 23 08:04:06 2020 +0200
Add missing word "key" in "What is a partition?"
I assume the author intended to write that sensor_id was the partition key, since it doesn't make sense to me how a field could be a partition.
---
src/partitioned-dbs/index.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/partitioned-dbs/index.rst b/src/partitioned-dbs/index.rst
index 86f7057..4e27d11 100644
--- a/src/partitioned-dbs/index.rst
+++ b/src/partitioned-dbs/index.rst
@@ -103,7 +103,7 @@ What is a partition?
In the previous section, we introduced a hypothetical database that contains
sensor readings from an IoT field monitoring service. In this particular
use case, it's quite logical to group all documents by their ``sensor_id``
-field. In this case, we would call the ``sensor_id`` the partition.
+field. In this case, we would call the ``sensor_id`` the partition key.
A good partition has two basic properties. First, it should have a high
cardinality. That is, a large partitioned database should have many more