Skip to content

Commit b268eab

Browse files
committed
fix
1 parent 91124c1 commit b268eab

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

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

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

302302
/**
303-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
303+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
304304
*
305305
* @param path The indexed field to be searched.
306306
* @param value The boolean value to query for.
@@ -313,7 +313,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final boolean val
313313
}
314314

315315
/**
316-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
316+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
317317
*
318318
* @param path The indexed field to be searched.
319319
* @param value The object id value to query for.
@@ -326,7 +326,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final ObjectId va
326326
}
327327

328328
/**
329-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
329+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
330330
*
331331
* @param path The indexed field to be searched.
332332
* @param value The number value to query for.
@@ -339,7 +339,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final Number valu
339339
}
340340

341341
/**
342-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
342+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
343343
*
344344
* @param path The indexed field to be searched.
345345
* @param value The instant date value to query for.
@@ -352,7 +352,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final Instant val
352352
}
353353

354354
/**
355-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
355+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
356356
*
357357
* @param path The indexed field to be searched.
358358
* @param value The string value to query for.
@@ -365,7 +365,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final String valu
365365
}
366366

367367
/**
368-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
368+
* Returns a {@link SearchOperator} that checks whether a field matches a value you specify.
369369
*
370370
* @param path The indexed field to be searched.
371371
* @param value The uuid value to query for.
@@ -378,7 +378,7 @@ static EqualsSearchOperator equals(final FieldSearchPath path, final UUID value)
378378
}
379379

380380
/**
381-
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
381+
* Returns a {@link SearchOperator} that checks whether a field matches null.
382382
*
383383
* @param path The indexed field to be searched.
384384
* @return The requested {@link SearchOperator}.
@@ -390,6 +390,8 @@ static EqualsSearchOperator equalsNull(final FieldSearchPath path) {
390390
}
391391

392392
/**
393+
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
394+
*
393395
* @param path The field to be searched.
394396
* @param query The string to search for.
395397
* @return The requested {@link SearchOperator}.
@@ -400,6 +402,7 @@ static PhraseSearchOperator phrase(final SearchPath path, final String query) {
400402
}
401403

402404
/**
405+
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
403406
* @param paths The non-empty fields to be searched.
404407
* @param queries The non-empty strings to search for.
405408
* @return The requested {@link SearchOperator}.

driver-kotlin-extensions/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,4 @@ tasks.javadocJar.configure {
165165
// ===========================
166166
tasks.sourcesJar { from(project.sourceSets.main.map { it.kotlin }) }
167167

168-
afterEvaluate {
169-
tasks.jar { manifest { attributes["Automatic-Module-Name"] = "org.mongodb.driver.kotlin.extensions" } }
170-
}
168+
afterEvaluate { tasks.jar { manifest { attributes["Automatic-Module-Name"] = "org.mongodb.driver.kotlin.extensions" } } }

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

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

234234
/**
235-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
235+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
236236
*
237237
* @param path The indexed field to be searched.
238238
* @param value The boolean value to query for.
@@ -243,7 +243,7 @@ object SearchOperator {
243243
JSearchOperator.equals(path, value)
244244

245245
/**
246-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
246+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
247247
*
248248
* @param path The indexed field to be searched.
249249
* @param value The object id value to query for.
@@ -254,7 +254,7 @@ object SearchOperator {
254254
JSearchOperator.equals(path, value)
255255

256256
/**
257-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
257+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
258258
*
259259
* @param path The indexed field to be searched.
260260
* @param value The number value to query for.
@@ -265,7 +265,7 @@ object SearchOperator {
265265
JSearchOperator.equals(path, value)
266266

267267
/**
268-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
268+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
269269
*
270270
* @param path The indexed field to be searched.
271271
* @param value The instant date value to query for.
@@ -276,7 +276,7 @@ object SearchOperator {
276276
JSearchOperator.equals(path, value)
277277

278278
/**
279-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
279+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
280280
*
281281
* @param path The indexed field to be searched.
282282
* @param value The string value to query for.
@@ -287,7 +287,7 @@ object SearchOperator {
287287
JSearchOperator.equals(path, value)
288288

289289
/**
290-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
290+
* Returns a `SearchOperator` that checks whether a field matches a value you specify.
291291
*
292292
* @param path The indexed field to be searched.
293293
* @param value The uuid value to query for.
@@ -298,7 +298,7 @@ object SearchOperator {
298298
JSearchOperator.equals(path, value)
299299

300300
/**
301-
* Returns a `SearchOperator` that performs a search for documents containing an ordered sequence of terms.
301+
* Returns a `SearchOperator` that checks whether a field matches null.
302302
*
303303
* @param path The indexed field to be searched.
304304
* @param value The uuid value to query for.
@@ -309,6 +309,8 @@ object SearchOperator {
309309
JSearchOperator.equalsNull(path)
310310

311311
/**
312+
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
313+
*
312314
* @param path The field to be searched.
313315
* @param query The string to search for.
314316
* @return The requested `SearchOperator`.
@@ -317,6 +319,7 @@ object SearchOperator {
317319
def phrase(path: SearchPath, query: String): PhraseSearchOperator = JSearchOperator.phrase(path, query)
318320

319321
/**
322+
* Returns a {@link SearchOperator} that performs a search for documents containing an ordered sequence of terms.
320323
* @param paths The non-empty fields to be searched.
321324
* @param queries The non-empty strings to search for.
322325
* @return The requested `SearchOperator`.

0 commit comments

Comments
 (0)