when I want to index a document in elasticsearch this problem occurring:
message [MapperParsingException[failed to parse]; nested: IllegalArgumentException[unknown field name [output], must be one of [input, weight, contexts]];]
I know that the
output field removed from elasticsearch in version 5 but why? and what I have to do for getting single result for inputs?