Python Elasticsearch create index mapping

I am trying to create a ES index with custom mapping with elasticsearch python to increase the size of text in each document:

mapping = {"mapping":{


from elasticsearch import Elasticsearch
es1 = Elasticsearch([{"host":"localhost","port":9200}])


RequestError: RequestError(400, 'mapper_parsing_exception', 'Mapping definition for [Apple] has unsupported parameters: [ignore_above : 10000]') 

Any suggestions on how to rectify this will be great.

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