File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
src/main/java/org/springframework/data/elasticsearch/core/query Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ public void setMinScore(float minScore) {
226
226
}
227
227
228
228
/**
229
- * Set Ids for a multi-get request with on this query.
229
+ * Set Ids for a multi-get request run with this query. Not used in any other searches .
230
230
*
231
231
* @param ids list of id values
232
232
*/
@@ -255,7 +255,7 @@ public List<IdWithRouting> getIdsWithRouting() {
255
255
}
256
256
257
257
/**
258
- * Set Ids with routing values for a multi-get request set on this query.
258
+ * Set Ids with routing values for a multi-get request run with this query. Not used in any other searches .
259
259
*
260
260
* @param idsWithRouting list of id values, must not be {@literal null}
261
261
* @since 4.3
Original file line number Diff line number Diff line change @@ -250,13 +250,23 @@ public SELF withMaxResults(Integer maxResults) {
250
250
return self ();
251
251
}
252
252
253
+ /**
254
+ * Set Ids for a multi-get request run with this query. Not used in any other searches.
255
+ *
256
+ * @param ids list of id values
257
+ */
253
258
public SELF withIds (String ... ids ) {
254
259
255
260
this .ids .clear ();
256
261
this .ids .addAll (Arrays .asList (ids ));
257
262
return self ();
258
263
}
259
264
265
+ /**
266
+ * Set Ids for a multi-get request run with this query. Not used in any other searches.
267
+ *
268
+ * @param ids list of id values
269
+ */
260
270
public SELF withIds (Collection <String > ids ) {
261
271
262
272
Assert .notNull (ids , "ids must not be null" );
@@ -372,6 +382,12 @@ public SELF withRequestCache(@Nullable Boolean requestCache) {
372
382
return self ();
373
383
}
374
384
385
+ /**
386
+ * Set Ids with routing values for a multi-get request run with this query. Not used in any other searches.
387
+ *
388
+ * @param idsWithRouting list of id values, must not be {@literal null}
389
+ * @since 4.3
390
+ */
375
391
public SELF withIdsWithRouting (List <Query .IdWithRouting > idsWithRouting ) {
376
392
377
393
Assert .notNull (idsWithRouting , "idsWithRouting must not be null" );
You can’t perform that action at this time.
0 commit comments