Skip to content

Commit

Permalink
Merge pull request #144 from calonso/patch-1
Browse files Browse the repository at this point in the history
Update confusing note on dd copy operation
  • Loading branch information
janl committed Jul 19, 2017
2 parents caf47d4 + 5cc5b0d commit ad906f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/ddoc/common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
The :method:`COPY` (which is non-standard HTTP) copies an existing design
document to a new or existing one.

.. note::
Copying a design document does automatically reconstruct the view
indexes. These will be recreated, as with other views, the first time
the new view is accessed.
  Given that view indexes on disk are named after their MD5 hash of the
view definition, and that a `COPY` operation won't actually change
that definition, the copied views won't have to be reconstructed.
Both views will be served from the same index on disk.

.. seealso::
:copy:`/{db}/{docid}`
Expand Down

0 comments on commit ad906f5

Please sign in to comment.