You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (result.getStatus()!=201) thrownewRuntimeException(String.format("Error adding element %d %s %s to index %s", restEntity.getId(), key, value, index.getIndexName()));
332
334
}
333
-
335
+
336
+
@SuppressWarnings("unchecked")
337
+
public <T> TputIfAbsent( Tentity, RestIndexindex, Stringkey, Objectvalue ) {
338
+
finalRestEntityrestEntity = (RestEntity) entity;
339
+
Stringuri = restEntity.getUri();
340
+
if (valueinstanceofValueContext) {
341
+
value = ((ValueContext)value).getCorrectValue();
342
+
}
343
+
finalMap<String, Object> data = MapUtil.map("key", key, "value", value, "uri", uri);
0 commit comments