File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 94
94
95
95
# List an Index
96
96
# start-list-indexes
97
- all_indexes . each do |index |
98
- puts index
99
- end
97
+ puts collection . indexes . collect ( &:to_json )
100
98
# end-list-indexes
101
99
102
100
client . close
Original file line number Diff line number Diff line change @@ -131,9 +131,6 @@ The following example creates an Atlas Search index on the specified field:
131
131
:end-before: end-create-search-index
132
132
:dedent:
133
133
134
- To learn more about creating search indexes, see the :ref:`ruby-atlas-search-index-create`
135
- guide.
136
-
137
134
List Search Indexes
138
135
~~~~~~~~~~~~~~~~~~~
139
136
@@ -146,9 +143,6 @@ collection:
146
143
:end-before: end-list-search-indexes
147
144
:dedent:
148
145
149
- To learn more about listing search indexes, see the :ref:`ruby-atlas-search-index-list`
150
- guide.
151
-
152
146
Update Search Indexes
153
147
~~~~~~~~~~~~~~~~~~~~~
154
148
@@ -161,9 +155,6 @@ new index definition:
161
155
:end-before: end-update-search-indexes
162
156
:dedent:
163
157
164
- To learn more about updating search indexes, see the :ref:`ruby-atlas-search-index-update`
165
- guide.
166
-
167
158
Delete Search Indexes
168
159
~~~~~~~~~~~~~~~~~~~~~
169
160
@@ -175,9 +166,6 @@ The following example deletes an Atlas Search index with the specified name:
175
166
:end-before: end-drop-search-index
176
167
:dedent:
177
168
178
- To learn more about deleting search indexes, see the :ref:`ruby-atlas-search-index-drop`
179
- guide.
180
-
181
169
Text Index
182
170
----------
183
171
You can’t perform that action at this time.
0 commit comments