WIP: Allow multiple mapping
Part of https://gitlab.com/gitlab-org/gitlab-ee/issues/12548
Allows index_name
and transform_tables
to be passed as input parameter when executing the indexing process, in order to allow multiple Elasticsearch schema/index setup at the same time.
The transform_tables
is used to indicate how the field names of commits and blobs would appear as indexed json data. The mapping tables are used in the MarshalJSON
to determine the field names.
Edited by Mark Chao