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 9494
9595# List an Index
9696# start-list-indexes
97- all_indexes . each do |index |
98- puts index
99- end
97+ puts collection . indexes . collect ( &:to_json )
10098# end-list-indexes
10199
102100client . 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:
131131 :end-before: end-create-search-index
132132 :dedent:
133133
134- To learn more about creating search indexes, see the :ref:`ruby-atlas-search-index-create`
135- guide.
136-
137134List Search Indexes
138135~~~~~~~~~~~~~~~~~~~
139136
@@ -146,9 +143,6 @@ collection:
146143 :end-before: end-list-search-indexes
147144 :dedent:
148145
149- To learn more about listing search indexes, see the :ref:`ruby-atlas-search-index-list`
150- guide.
151-
152146Update Search Indexes
153147~~~~~~~~~~~~~~~~~~~~~
154148
@@ -161,9 +155,6 @@ new index definition:
161155 :end-before: end-update-search-indexes
162156 :dedent:
163157
164- To learn more about updating search indexes, see the :ref:`ruby-atlas-search-index-update`
165- guide.
166-
167158Delete Search Indexes
168159~~~~~~~~~~~~~~~~~~~~~
169160
@@ -175,9 +166,6 @@ The following example deletes an Atlas Search index with the specified name:
175166 :end-before: end-drop-search-index
176167 :dedent:
177168
178- To learn more about deleting search indexes, see the :ref:`ruby-atlas-search-index-drop`
179- guide.
180-
181169Text Index
182170----------
183171
You can’t perform that action at this time.
0 commit comments