It's the same request you provided just without "case_sensitive" option and with my endpoints ResponsiveKoala38
ResponsiveKoala38 Got following error. Sorry for a screenshot, I can't copy text from web terminal I am using right now.
CostlyOstrich36 Yes, I know. Above I posted a link where there's a solution. DB request to elastic to change those URLs. My question is: where to send this DB request? What endpoint? Request provided in FAQ in incomplete. It lacks URL where to send the request to.
curl --header "Content-Type: application/json" \
--request POST \
--data '{
"script": {
"source": "ctx._source.url = ctx._source.url.replace('
.<OLD_ADDRESS>', '
.<NEW_ADDRESS>')",
"lang": "painless"
},
"query": {
"match_all": {}
}
}' \
CostlyOstrich36 Old debug samples. My URL for files server has changed, and old debug sampled are not shown.
CostlyOstrich36 My question basically is what host do I need to send POST request to change paths? curl to localhost:9200 (where elastic is running) is not working