Repository: couchdb Updated Branches: refs/heads/master 3be8c85bd -> fb59ccae8
update documentation explain better what happens with the view index when documents in a view are being processed Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fb59ccae Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fb59ccae Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fb59ccae Branch: refs/heads/master Commit: fb59ccae8d90f6407e5b9d08a302f909778db9b7 Parents: 3be8c85 Author: Andy Wenk <[email protected]> Authored: Thu Mar 20 23:52:26 2014 +0100 Committer: Andy Wenk <[email protected]> Committed: Thu Mar 20 23:52:26 2014 +0100 ---------------------------------------------------------------------- share/doc/src/intro/overview.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/fb59ccae/share/doc/src/intro/overview.rst ---------------------------------------------------------------------- diff --git a/share/doc/src/intro/overview.rst b/share/doc/src/intro/overview.rst index f94d656..4e3b72c 100644 --- a/share/doc/src/intro/overview.rst +++ b/share/doc/src/intro/overview.rst @@ -198,9 +198,10 @@ simultaneous client readers, who can read and query the view while the index is concurrently being refreshed for other clients without causing problems for the readers. -As documents are examined, their previous row values are removed from the -view indexes, if they exist. If the document is selected by a view function, -the function results are inserted into the view as a new row. +As documents are processed by the view engine through your 'map' and 'reduce' +functions, their previous row values are removed from the view indexes, if +they exist. If the document is selected by a view function, the function results +are inserted into the view as a new row. When view index changes are written to disk, the updates are always appended at the end of the file, serving to both reduce disk head seek times during
