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?
The best place to learn more about the breaking changes between versions and the reasons for making these changes are the corresponding Breaking Changes pages of our documentation. In this particular case, you are probably looking for the Simpler completion indexing section of the page I linked above.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.