File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ features guide you to build and navigate complex nested structures:
157
157
use the same conventions as regular properties and accept both a builder lambda
158
158
expression and a ready-made object of the actual type of the variant. Here’s an
159
159
example to build a term query:
160
-
160
+ +
161
+ --
161
162
["source","java"]
162
163
--------------------------------------------------
163
164
Query query = new Query.Builder()
@@ -170,7 +171,7 @@ Query query = new Query.Builder()
170
171
<1> Choose the `term` variant to build a term query.
171
172
<2> Build the terms query with a builder lambda expression.
172
173
<3> Build the `Query` that now holds a `TermQuery` object with tag `term`.
173
-
174
+ --
174
175
175
176
* Variant objects have getter methods for every available implementation. These
176
177
methods check that the object actually holds a variant of that type and return
You can’t perform that action at this time.
0 commit comments