@@ -606,7 +606,7 @@ public class EsService {
req = UpdateRequest.of(
b -> b.index("patent").id(id)
- .doc(patent)
+ .doc(patent).refresh(Refresh.True)
);
try {