Skip to content

Commit 00794c9

Browse files
committed
DOCSP-45205 Multikey Indexes
1 parent 18b24a2 commit 00794c9

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

source/indexes.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ Optimize Queries by Using Indexes
2121
.. toctree::
2222
:titlesonly:
2323
:maxdepth: 1
24-
24+
2525
Single Field </indexes/single-field-index>
26+
Multikey </indexes/multikey-index>
2627
.. Compound </indexes/compound-index>
27-
.. Multikey </indexes/multikey-index>
2828
.. Atlas Search </indexes/atlas-search-index>
2929

30+
3031
Overview
3132
--------
3233

source/indexes/multikey-index.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. _ruby-multikey-index:
2+
3+
================
4+
Multikey Indexes
5+
================
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 2
11+
:class: singlecol
12+
13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:keywords: index, query, optimization, efficiency
19+
20+
Overview
21+
--------
22+
23+
**Multikey indexes** are indexes that improve the performance of queries
24+
on array-valued fields. You can create a multikey index on a collection
25+
by using the ``create_one`` method and the same syntax that you use to create
26+
a :ref:`single field index <ruby-single-field-index>`.
27+

0 commit comments

Comments
 (0)