avr
(venkatreddy amalla)
March 27, 2017, 9:02am
1
I've tried to find out an equivalent for mapping mentioned below, but couldn't succeed.
{
"type": "string",
"null_value": "NULL"
}
When I try the following:
{
"type": "text",
"null_value": "NULL"
}
It is giving unsupported parameter for text
error.
Can someone provide pointers to fix this?
Thanks in Advance!
dadoonet
(David Pilato)
March 31, 2017, 6:41am
2
For now, the only way to solve that I believe is at index time or using an ingest script processor.
I opened the following issue for discussion:
opened 06:40AM - 31 Mar 17 UTC
closed 03:02PM - 20 Apr 17 UTC
>docs
help wanted
:Search/Mapping
```
DELETE test
PUT test
{
"mappings": {
"my_type": {
"propert… ies": {
"status_code": {
"type": "text",
"null_value": "NULL"
}
}
}
}
}
```
This is now failing in 5.x.
Either it's a bug and we should still support it or we should document it as a breaking change for people who are moving their `string` mapping to `text`.
Thoughts?
See also
I was searching for reasons behind removing null_value parameter for text field mapping. But I didn't find any resources or some change log online. Can somebody help me out regarding this?
Thanks in advance!
system
(system)
Closed
April 28, 2017, 6:41am
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.