Improved oldb datapoint article: oldb_ela_list authored by Marcus Schilling's avatar Marcus Schilling
...@@ -1564,7 +1564,7 @@ If the above didn't help, find out which "half" of the datapoint exists. ...@@ -1564,7 +1564,7 @@ If the above didn't help, find out which "half" of the datapoint exists.
Define the following shell functions (note: not applicable to redis-clusters): Define the following shell functions (note: not applicable to redis-clusters):
``` ```
function oldb_ela_list { curl -s -X GET localhost:9200/configuration_instance/_search?q=data.uri.value:\"$1\" | jq -r '.hits.hits[]._id' | sort ; } function oldb_ela_list { curl -s -X GET localhost:9200/configuration_instance/_search?size=2000\&q=data.uri.value:\"$1\" | jq -r '.hits.hits[]._id' | sort ; }
function oldb_ela_del { curl -s -X POST localhost:9200/configuration_instance/_delete_by_query?q=data.uri.value:\"$1\" | jq -r '.deleted' ; } function oldb_ela_del { curl -s -X POST localhost:9200/configuration_instance/_delete_by_query?q=data.uri.value:\"$1\" | jq -r '.deleted' ; }
... ...
......