core
core copied to clipboard
Add variant to index
When writing a document to elasticsearch, we should add the variant to both the ES document ID and to the map we put to the index. We will need to map the variant field as a keyword field in our es-mappings