You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Returns a {@link SearchOperator} that searches for an array of values at the given path and returns documents where the value of
358
-
* the field equals any value in the specified array.
367
+
* Returns a {@link SearchOperator} that searches for documents where the
368
+
* value or array of values at a given path contains any of the specified values
359
369
*
360
370
* @param path The indexed field to be searched.
361
371
* @param value The uuid value to search for.
@@ -368,8 +378,8 @@ static InSearchOperator in(final FieldSearchPath path, final UUID value, final U
368
378
}
369
379
370
380
/**
371
-
* Returns a {@link SearchOperator} that searches for an array of values at the given path and returns documents where the value of
372
-
* the field equals any value in the specified array.
381
+
* Returns a {@link SearchOperator} that searches for documents where the
382
+
* value or array of values at a given path contains any of the specified values
373
383
*
374
384
* @param path The indexed field to be searched.
375
385
* @param value The string value to search for.
@@ -382,27 +392,23 @@ static InSearchOperator in(final FieldSearchPath path, final String value, final
382
392
}
383
393
384
394
/**
385
-
* Returns a {@link SearchOperator} that searches for an array of values at the given path and returns documents where the value of
386
-
* the field equals any value in the specified array.
395
+
* Returns a {@link SearchOperator} that searches for documents where the
396
+
* value or array of values at a given path contains any of the specified values
387
397
*
388
398
* @param path The indexed field to be searched.
389
399
* @param values The non-empty values to search for. Value can be either a single value or an array of values of only one of the supported BSON types and can't be a mix of different types.
390
400
* @return The requested {@link SearchOperator}.
391
401
* @mongodb.atlas.manual atlas-search/in/ in operator
Copy file name to clipboardExpand all lines: driver-scala/src/main/scala/org/mongodb/scala/model/search/SearchOperator.scala
+14-14
Original file line number
Diff line number
Diff line change
@@ -237,8 +237,8 @@ object SearchOperator {
237
237
JSearchOperator.near(origin, pivot, paths.asJava)
238
238
239
239
/**
240
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
241
-
* the field equals any value in the specified array.
240
+
* Returns a `SearchOperator` that searches for documents where the value
241
+
* or array of values at a given path contains any of the specified values
242
242
*
243
243
* @parampath The indexed field to be searched.
244
244
* @paramvalue The boolean value to search for.
@@ -250,8 +250,8 @@ object SearchOperator {
250
250
JSearchOperator.in(path, value, values: _*)
251
251
252
252
/**
253
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
254
-
* the field equals any value in the specified array.
253
+
* Returns a `SearchOperator` that searches for documents where the value
254
+
* or array of values at a given path contains any of the specified values
255
255
*
256
256
* @parampath The indexed field to be searched.
257
257
* @paramvalue The objectId value to search for.
@@ -263,8 +263,8 @@ object SearchOperator {
263
263
JSearchOperator.in(path, value, values: _*)
264
264
265
265
/**
266
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
267
-
* the field equals any value in the specified array.
266
+
* Returns a `SearchOperator` that searches for documents where the value
267
+
* or array of values at a given path contains any of the specified values
268
268
*
269
269
* @parampath The indexed field to be searched.
270
270
* @paramvalue The number value to search for.
@@ -276,8 +276,8 @@ object SearchOperator {
276
276
JSearchOperator.in(path, value, values: _*)
277
277
278
278
/**
279
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
280
-
* the field equals any value in the specified array.
279
+
* Returns a `SearchOperator` that searches for documents where the value
280
+
* or array of values at a given path contains any of the specified values
281
281
*
282
282
* @parampath The indexed field to be searched.
283
283
* @paramvalue The instant date value to search for.
@@ -289,8 +289,8 @@ object SearchOperator {
289
289
JSearchOperator.in(path, value, values: _*)
290
290
291
291
/**
292
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
293
-
* the field equals any value in the specified array.
292
+
* Returns a `SearchOperator` that searches for documents where the value
293
+
* or array of values at a given path contains any of the specified values
294
294
*
295
295
* @parampath The indexed field to be searched.
296
296
* @paramvalue The uuid value to search for.
@@ -302,8 +302,8 @@ object SearchOperator {
302
302
JSearchOperator.in(path, value, values: _*)
303
303
304
304
/**
305
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
306
-
* the field equals any value in the specified array.
305
+
* Returns a `SearchOperator` that searches for documents where the value
306
+
* or array of values at a given path contains any of the specified values
307
307
*
308
308
* @parampath The indexed field to be searched.
309
309
* @paramvalue The string value to search for.
@@ -315,8 +315,8 @@ object SearchOperator {
315
315
JSearchOperator.in(path, value, values: _*)
316
316
317
317
/**
318
-
* Returns a `SearchOperator` that searches for an array of values at the given path and returns documents where the value of
319
-
* the field equals any value in the specified array.
318
+
* Returns a `SearchOperator` that searches for documents where the value
319
+
* or array of values at a given path contains any of the specified values
320
320
*
321
321
* @parampath The indexed field to be searched.
322
322
* @paramvalues The non-empty values to search for. Value can be either a single value or an array of values of only one of the supported BSON types and can't be a mix of different types.
0 commit comments