scrapy-elasticsearch icon indicating copy to clipboard operation
scrapy-elasticsearch copied to clipboard

Elasticsearch 5 has maybe more reason to allow the creation of mapping

Open kootenpv opened this issue 7 years ago • 1 comments

Maybe it would be possible to ingest a mapping into elasticsearch before writing items? E.g.

ELASTICSEARCH_MAPPING = { ... some json ...}

or

ELASTICSEARCH_MAPPING = "/file/to/mapping.json"

It'd be a nice flow to have it be included at this stage.

kootenpv avatar May 04 '17 07:05 kootenpv

@kootenpv yeah, I will consider to implement this. https://github.com/knockrentals/scrapy-elasticsearch/issues/51 also asks for the same feature.

jayzeng avatar Jul 24 '17 22:07 jayzeng