@@ -164,6 +164,7 @@ public interface DocumentOperations {
164
164
* @param queries the queries to execute in bulk
165
165
* @param clazz the entity class
166
166
* @return the information about the indexed objects
167
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
167
168
* @since 4.1
168
169
*/
169
170
default List <IndexedObjectInformation > bulkIndex (List <IndexQuery > queries , Class <?> clazz ) {
@@ -175,6 +176,7 @@ default List<IndexedObjectInformation> bulkIndex(List<IndexQuery> queries, Class
175
176
*
176
177
* @param queries the queries to execute in bulk
177
178
* @return the information about of the indexed objects
179
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
178
180
*/
179
181
default List <IndexedObjectInformation > bulkIndex (List <IndexQuery > queries , IndexCoordinates index ) {
180
182
return bulkIndex (queries , BulkOptions .defaultOptions (), index );
@@ -187,6 +189,7 @@ default List<IndexedObjectInformation> bulkIndex(List<IndexQuery> queries, Index
187
189
* @param bulkOptions options to be added to the bulk request
188
190
* @param clazz the entity class
189
191
* @return the information about of the indexed objects
192
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
190
193
* @since 4.1
191
194
*/
192
195
List <IndexedObjectInformation > bulkIndex (List <IndexQuery > queries , BulkOptions bulkOptions , Class <?> clazz );
@@ -197,13 +200,15 @@ default List<IndexedObjectInformation> bulkIndex(List<IndexQuery> queries, Index
197
200
* @param queries the queries to execute in bulk
198
201
* @param bulkOptions options to be added to the bulk request
199
202
* @return the information about of the indexed objects
203
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
200
204
*/
201
205
List <IndexedObjectInformation > bulkIndex (List <IndexQuery > queries , BulkOptions bulkOptions , IndexCoordinates index );
202
206
203
207
/**
204
208
* Bulk update all objects. Will do update.
205
209
*
206
210
* @param queries the queries to execute in bulk
211
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
207
212
*/
208
213
default void bulkUpdate (List <UpdateQuery > queries , IndexCoordinates index ) {
209
214
bulkUpdate (queries , BulkOptions .defaultOptions (), index );
@@ -214,6 +219,7 @@ default void bulkUpdate(List<UpdateQuery> queries, IndexCoordinates index) {
214
219
*
215
220
* @param clazz the entity class
216
221
* @param queries the queries to execute in bulk
222
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
217
223
* @since 4.1
218
224
*/
219
225
void bulkUpdate (List <UpdateQuery > queries , Class <?> clazz );
@@ -223,6 +229,7 @@ default void bulkUpdate(List<UpdateQuery> queries, IndexCoordinates index) {
223
229
*
224
230
* @param queries the queries to execute in bulk
225
231
* @param bulkOptions options to be added to the bulk request
232
+ * @throws org.springframework.data.elasticsearch.BulkFailureException with information about the failed operation
226
233
*/
227
234
void bulkUpdate (List <UpdateQuery > queries , BulkOptions bulkOptions , IndexCoordinates index );
228
235
0 commit comments