Spring Data Elasticsearch MappingElasticsearchConverter
Spring Data Elasticsearch MappingElasticsearchConverter The MappingElasticsearchConverter uses metadata to drive the mapping of objects to documents. The metadata is taken from the entity’s properties which can be annotated. The following annotations are available: @Document: Applied at the class level to indicate this class is a candidate for mapping to the database. The most important attributes are: indexName: the name of the index to store this entity in type: the mapping type. If not set, the lowercased simple name of the class is used. (deprecated since version 4.0) shards: the number of shards for the index. replicas: the number of replicas for the index. refreshIntervall: Refresh interval for the index. Used for index creation. Default value is "1s". indexStoreType: Index storage type for the index. Used for index creation. Default value is "fs". createIndex: Configuration whether to create an index on repository bootstrapping. Default...