@@ -128,48 +128,57 @@ SearchOperator Helper Methods
128
128
To make building pipeline stages easier, the {+driver-short+} provides helper methods
129
129
for the following operations:
130
130
131
- - :atlas:`autocomplete </atlas-search/autocomplete/>`: Performs a search for a
132
- word or phrase that contains a sequence of characters from an incomplete
133
- input string.
131
+ .. list-table::
132
+ :widths: 40 60
133
+ :header-rows: 1
134
134
135
- - :atlas:`compound </atlas-search/compound/>`: Combines two or more operators
136
- into a single query.
135
+ * - Operation
136
+ - Description
137
137
138
- - :atlas:`equals </atlas-search/equals/>` (``equals()`` and ``equalsNull()``): Checks
139
- whether a field matches a value you specify.
138
+ * - :atlas:`autocomplete </atlas-search/autocomplete/>`
139
+ - Performs a search for a word or phrase that contains a sequence of
140
+ characters from an incomplete input string.
140
141
141
- - :atlas:`exists </atlas-search/exists />`: Tests if a path to a specified
142
- indexed field name exists in a document .
142
+ * - :atlas:`compound </atlas-search/compound />`
143
+ - Combines two or more operators into a single query .
143
144
144
- - :atlas:`in </atlas-search/in/>`: Performs a search for an array of BSON
145
- number, date, boolean, objectId, uuid, or string values at the given path
146
- and returns documents where the value of the field equals any value in the
147
- specified array.
145
+ * - :atlas:`equals </atlas-search/equals/>` (``equals()`` and ``equalsNull()``)
146
+ - Checks whether a field matches a value you specify.
148
147
149
- - :atlas:`moreLikeThis </atlas-search/moreLikeThis />`: Returns documents similar
150
- to input documents.
148
+ * - :atlas:`exists </atlas-search/exists />`
149
+ - Tests if a path to a specified indexed field name exists in a document.
151
150
152
- - :atlas:`near </atlas-search/near/>`: Supports querying and scoring numeric,
153
- date, and GeoJSON point values.
151
+ * - :atlas:`in </atlas-search/in/>`
152
+ - Performs a search for an array of BSON number, date, boolean, objectId,
153
+ uuid, or string values at the given path and returns documents where the
154
+ value of the field equals any value in the specified array.
154
155
155
- - :atlas:`phrase </atlas-search/phrase/>`: Performs a search for documents
156
- containing an ordered sequence of terms using the analyzer specified in the
157
- index configuration.
156
+ * - :atlas:`moreLikeThis </atlas-search/moreLikeThis/>`
157
+ - Returns documents similar to input documents.
158
158
159
- - :atlas:`queryString </atlas-search/queryString />`: Supports querying a
160
- combination of indexed fields and values.
159
+ * - :atlas:`near </atlas-search/near />`
160
+ - Supports querying and scoring numeric, date, and GeoJSON point values.
161
161
162
- - :atlas:`range </atlas-search/range/>` (``numberRange()`` and ``dateRange()``): Supports
163
- querying and scoring numeric, date, and string values.
162
+ * - :atlas:`phrase </atlas-search/phrase/>`
163
+ - Performs a search for documents containing an ordered sequence of terms
164
+ using the analyzer specified in the index configuration.
164
165
165
- - :atlas:`regex </atlas-search/regex />`: Interprets the query field as a regular
166
- expression.
166
+ * - :atlas:`queryString </atlas-search/queryString />`
167
+ - Supports querying a combination of indexed fields and values.
167
168
168
- - :atlas:`text </atlas-search/text />`: Performs a full-text search using the
169
- analyzer that you specify in the index configuration.
169
+ * - :atlas:`range </atlas-search/range />` (``numberRange()`` and ``dateRange()``)
170
+ - Supports querying and scoring numeric, date, and string values.
170
171
171
- - :atlas:`wildcard </atlas-search/wildcard/>`: Enables queries which use special
172
- characters in the search string that can match any character.
172
+ * - :atlas:`regex </atlas-search/regex/>`
173
+ - Interprets the query field as a regular expression.
174
+
175
+ * - :atlas:`text </atlas-search/text/>`
176
+ - Performs a full-text search using the analyzer that you specify in the
177
+ index configuration.
178
+
179
+ * - :atlas:`wildcard </atlas-search/wildcard/>`
180
+ - Enables queries which use special characters in the search string that
181
+ can match any character.
173
182
174
183
Example Pipeline Search Stage
175
184
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments