mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
CouchDB River: Deletes not handles correctly
This commit is contained in:
parent
eb44910047
commit
81fd17b035
@ -186,7 +186,7 @@ public class CouchdbRiver extends AbstractRiverComponent implements River {
|
||||
return seq;
|
||||
}
|
||||
|
||||
if (map.containsKey("delete") && map.get("deleted").equals("true")) {
|
||||
if (map.containsKey("deleted") && map.get("deleted").equals(Boolean.TRUE)) {
|
||||
bulk.add(deleteRequest(indexName).type(typeName).id(id));
|
||||
} else if (map.containsKey("doc")) {
|
||||
Map<String, Object> doc = (Map<String, Object>) map.get("doc");
|
||||
|
Loading…
x
Reference in New Issue
Block a user