Equivalent setting for following mapping in Elasticsearch 5.x

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!

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:

See also

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.