haystack-core-integrations icon indicating copy to clipboard operation
haystack-core-integrations copied to clipboard

Add support for custom mapping when creating a new index using `ElasticsearchDocumentStore`

Open silvanocerza opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. This is not related a problem, it's an additional functionality.

Describe the solution you'd like

I'd like to use a custom mapping when using ElasticsearchDocumentStore and creating a new index.

Describe alternatives you've considered

N/A

Additional context

This stems from this discussion.

As of now mappings are hardcoded here.

silvanocerza avatar Apr 10 '24 15:04 silvanocerza

I'd like to take it up if no one is working on it!

AnushreeBannadabhavi avatar May 01 '24 03:05 AnushreeBannadabhavi

Cool! @AnushreeBannadabhavi feel free to open a PR. :)

silvanocerza avatar May 02 '24 10:05 silvanocerza