Commit c819ac4c authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade config para que se retorne item al modificar

parent 067b41ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ public class ElasticPersistenceUtils<TModel extends BaseES<?>> {

		UpdateRequest updateRequest = new UpdateRequest(index, type, id)
				.doc(convertTModelToSource(model))
				.fetchSource(false)
				.fetchSource(true)
				.setRefreshPolicy(RefreshPolicy.IMMEDIATE);

		if (parentId != null) {