I have debug and tested from ColdFusion and Postman both are giving me same response.seems that fscrawler not taking passed index name.
ColdFusion log:
"Information","ajp-bio-8014-exec-9","12/20/19","09:55:09",,"Starting HTTP request {URL='http://172.16.110.74:7777/fscrawler/_upload?debug=true', method='POST'}"
"Information","ajp-bio-8014-exec-9","12/20/19","09:55:13",,"HTTP request completed {Status Code=200 ,Time taken=3486 ms}"
PostMan log
{
"ok": true,
"filename": "test.txt",
"url": "http://172.16.110.74:9200/test/_doc/dd18bf3a8ea2a3e53e2661c7fb53534",
"doc": {
"content": "hello dilip\n",
"meta": {
"raw": {
"X-Parsed-By": "org.apache.tika.parser.DefaultParser",
"Content-Encoding": "ISO-8859-1",
"resourceName": "test.txt",
"Content-Type": "text/plain; charset=ISO-8859-1"
}
},
"file": {
"extension": "txt",
"content_type": "text/plain; charset=ISO-8859-1",
"indexing_date": "2019-12-20T04:33:53.756+0000",
"filename": "test.txt"
},
"path": {
"virtual": "test.txt",
"real": "test.txt"
}
}
}