We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the part of code in statefile.json
"index": "iptv_think", "type": "data_think", "type_mapping": { "data_think": { "properties": { "namepy": { "type": "string", "analyzer": "whitespace" }, "name": { "type": "string", "index": "not_analyzed" } } } }
but run the script . use curl http://***/iptv_think/data_think/_mapping?pretty resualt is -- { "iptv_think" : { "mappings" : { "data_think" : { "properties" : { "name" : { "type" : "string" }, "namepy" : { "type" : "string" } } } } } }
please
The text was updated successfully, but these errors were encountered:
what is the issue?
Sorry, something went wrong.
I have the same issue. Any parameter other than type seems to be ignored. I cannot make a field not_analyzed.
type
not_analyzed
I solved this problem with way. not define type_mapping in script. but define type_mapping before running.
curl -XPOST http://localhost:9200/iptv_think/data_think/_mapping -d' { "data_think": { "properties": { "namepy": { "type": "string", "analyzer": "whitespace" }, "name": { "type": "string", "index":"not_analyzed" } } } }'
No branches or pull requests
the part of code in statefile.json
but run the script .
use curl http://***/iptv_think/data_think/_mapping?pretty
resualt is --
{
"iptv_think" : {
"mappings" : {
"data_think" : {
"properties" : {
"name" : {
"type" : "string"
},
"namepy" : {
"type" : "string"
}
}
}
}
}
}
please
The text was updated successfully, but these errors were encountered: