You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only a mapping_path can be passed to the current_search.create_index method. This is not very flexible since it requires having an actual JSON file with the mapping for creating indices with the correct prefixes/suffixes/write-aliases, etc.
Adding (or changing the current parameter) to accept a dictionary with the full mapping, is more flexible and allows other packages to create mappings.
The text was updated successfully, but these errors were encountered:
I second to that. It would also help to have a couple of signals in different phases of processing of mappings.
In my case, the mapping contains a lot of repeated sequences - multilingual strings. I've ended with mapping containing
"title": {
"type": "#/definitions/multilingual"
}
To replace the multilingual type, I'm using app_loaded and replace mapping paths with temporary files:
Currently only a
mapping_path
can be passed to thecurrent_search.create_index
method. This is not very flexible since it requires having an actual JSON file with the mapping for creating indices with the correct prefixes/suffixes/write-aliases, etc.Adding (or changing the current parameter) to accept a dictionary with the full mapping, is more flexible and allows other packages to create mappings.
The text was updated successfully, but these errors were encountered: