Open rvaidya opened 3 weeks ago
Made the attribute used for document id configurable - can either provide your own mapper from IndigoRecord to document id (if you want to pull from custom objects), or use IndigoRecord.internalID
Also provide optional implementation for auto flushing index
Currently, there is no way to update existing records in ElasticSearch when calling ElasticRepository.indexRecords in bingo. This leads to lots of duplicate documents being inserted.
This uses the IndigoRecord internalID field as the ID field for the document, so that existing documents can be updated.