CreateIndexRequest is failing

I have problem with create index.
Using ELK 7.3
Getting error: MapperParsingException[Failed to parse mapping [properties]: Root mapping definition has unsupported parameters:
on request:

CreateIndexRequest request = new CreateIndexRequest(indexName);
request.source(task, XContentType.JSON);

where task is loaded from file

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