Skip to content
Permalink
Browse files
Notes _find performance difference between custom indexes and _all_docs
  • Loading branch information
DougReeder authored and nickva committed Jun 10, 2022
1 parent dcdf3b8 commit 2a0e639c93f5fef14868fb0a42683c9d00fe9099
Showing 1 changed file with 4 additions and 3 deletions.
@@ -20,9 +20,10 @@
:synopsis: Find documents within a given database

Find documents using a declarative JSON querying syntax.
Queries can use the built-in :ref:`_all_docs <api/db/all_docs>` index or
custom indexes, specified using the :ref:`_index <api/db/find/index>`
endpoint.
Queries will use custom indexes, specified using the :ref:`_index <api/db/find/index>`
endpoint, if available.
Otherwise, they use the built-in :ref:`_all_docs <api/db/all_docs>` index, which
can be arbitrarily slow.

:param db: Database name

0 comments on commit 2a0e639

Please sign in to comment.