We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c8a66 commit df1d30dCopy full SHA for df1d30d
source/aggregation.txt
@@ -98,15 +98,17 @@ manual.
98
99
.. code-block:: kotlin
100
101
- Bson searchStageFilters = Aggregates.search(
+ val searchStage: Bson = Aggregates.search(
102
SearchOperator.compound()
103
.filter(
104
- List.of(
+ listOf(
105
SearchOperator.text(fieldPath("genres"), "Drama"),
106
SearchOperator.phrase(fieldPath("cast"), "sylvester stallone"),
107
SearchOperator.numberRange(fieldPath("year")).gtLt(1980, 1989),
108
- SearchOperator.wildcard(fieldPath("title"),"Rocky *")
109
- )));
+ SearchOperator.wildcard(fieldPath("title"), "Rocky *")
+ )
110
111
112
113
.. replacement:: searchoperator-interface-api-docs
114
0 commit comments