Skip to content

Commit

Permalink
Improve command (command-line bin/es_status) to reset URL status
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-nagel committed Mar 31, 2022
1 parent 6229cf0 commit 4194f9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/es_status
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function ____show_help() {
echo " delete document/record by URL"
echo " delete_url_with_routing <URL> <ROUTING>"
echo " delete document/record by URL with forced routing"
echo " reset_url [search|count|reset] <URL>"
echo " reset_url <URL>"
echo " reset by URL (resets status to DISCOVERED and removes fetch-relevant metadata)"
echo " fetch_now_url <URL>"
echo " set time of next fetch to now for URL (does not reset metadata)"
Expand Down Expand Up @@ -518,9 +518,8 @@ function __reset_by_query () {

# reset by URL
function __reset_url () {
CMND="$1"
URL="$2"
__reset_by_query "$CMND" '"match": {
__reset_by_query "reset" '"match": {
"url": "'"$URL"'"
}'
}
Expand Down

0 comments on commit 4194f9c

Please sign in to comment.