A set of interfaces for converting objects into searchable documents in elasticsearch