Skip to content

Commit 013310a

Browse files
committed
Clarify docs
1 parent 8dba91c commit 013310a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

driver-core/src/main/com/mongodb/client/model/search/SearchOperator.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ static GeoNearSearchOperator near(final Point origin, final Number pivot, final
301301
}
302302

303303
/**
304-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
304+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
305305
*
306306
* @param path The indexed field to be searched.
307307
* @param value The boolean value to query for.
@@ -314,7 +314,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final boolean val
314314
}
315315

316316
/**
317-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
317+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
318318
*
319319
* @param path The indexed field to be searched.
320320
* @param value The object id value to query for.
@@ -327,7 +327,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final ObjectId va
327327
}
328328

329329
/**
330-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
330+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
331331
*
332332
* @param path The indexed field to be searched.
333333
* @param value The number value to query for.
@@ -340,7 +340,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final Number valu
340340
}
341341

342342
/**
343-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
343+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
344344
*
345345
* @param path The indexed field to be searched.
346346
* @param value The instant date value to query for.
@@ -353,7 +353,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final Instant val
353353
}
354354

355355
/**
356-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
356+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
357357
*
358358
* @param path The indexed field to be searched.
359359
* @param value The string value to query for.
@@ -366,7 +366,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final String valu
366366
}
367367

368368
/**
369-
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
369+
* Returns a {@link SearchOperator} that searches for documents where a field matches the specified value.
370370
*
371371
* @param path The indexed field to be searched.
372372
* @param value The uuid value to query for.
@@ -379,7 +379,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final UUID value)
379379
}
380380

381381
/**
382-
* Returns a {@link SearchOperator} that checks whether a field matches null.
382+
* Returns a {@link SearchOperator} that searches for documents where a field matches null.
383383
*
384384
* @param path The indexed field to be searched.
385385
* @return The requested {@link SearchOperator}.

driver-scala/src/main/scala/org/mongodb/scala/model/search/SearchOperator.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ object SearchOperator {
233233
JSearchOperator.near(origin, pivot, paths.asJava)
234234

235235
/**
236-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
236+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
237237
*
238238
* @param path The indexed field to be searched.
239239
* @param value The boolean value to query for.
@@ -244,7 +244,7 @@ object SearchOperator {
244244
JSearchOperator.equals(path, value)
245245

246246
/**
247-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
247+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
248248
*
249249
* @param path The indexed field to be searched.
250250
* @param value The object id value to query for.
@@ -255,7 +255,7 @@ object SearchOperator {
255255
JSearchOperator.equals(path, value)
256256

257257
/**
258-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
258+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
259259
*
260260
* @param path The indexed field to be searched.
261261
* @param value The number value to query for.
@@ -266,7 +266,7 @@ object SearchOperator {
266266
JSearchOperator.equals(path, value)
267267

268268
/**
269-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
269+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
270270
*
271271
* @param path The indexed field to be searched.
272272
* @param value The instant date value to query for.
@@ -277,7 +277,7 @@ object SearchOperator {
277277
JSearchOperator.equals(path, value)
278278

279279
/**
280-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
280+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
281281
*
282282
* @param path The indexed field to be searched.
283283
* @param value The string value to query for.
@@ -288,7 +288,7 @@ object SearchOperator {
288288
JSearchOperator.equals(path, value)
289289

290290
/**
291-
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
291+
* Returns a `SearchOperator` that searches for documents where a field matches the specified value.
292292
*
293293
* @param path The indexed field to be searched.
294294
* @param value The uuid value to query for.
@@ -299,7 +299,7 @@ object SearchOperator {
299299
JSearchOperator.equals(path, value)
300300

301301
/**
302-
* Returns a `SearchOperator` that checks whether a field matches null.
302+
* Returns a `SearchOperator` that searches for documents where a field matches null.
303303
*
304304
* @param path The indexed field to be searched.
305305
* @param value The uuid value to query for.

0 commit comments

Comments
 (0)