feat: added a way to rename key name to support the use of a field named Id (by mapping it to book_id for example) and to support mapping sub-collections key to root collections field names.
Change Summary
We have two problems that we addressed and resolved on this PR:
the field "id" of a document cannot be used in queries.
the collection group product variants cannot be saved to the products collection on Typesense although it has extra needed for the search. and we want to use the variant colors /size /description in the search so they will be resolved to the same productId that the parent product has (the variant ID is irrelevant on search)
We fixed that by remapping the key names in new ways based on user decisions.
feat: added a way to rename key name to support the use of a field named Id (by mapping it to book_id for example) and to support mapping sub-collections key to root collections field names.
Change Summary
We have two problems that we addressed and resolved on this PR:
We fixed that by remapping the key names in new ways based on user decisions.
PR Checklist