【发布时间】:2021-05-11 21:54:12
【问题描述】:
我正在使用 spring-data-elasticsearch 编写 spring-boot 应用程序。我有一个在弹性搜索中自动创建索引的实体类。但我想定义一个分析器并将其设置为一个字段。
我期待像回调这样的东西来支持这一点。现在索引正在使用 @Document
创建@Document(indexName = "products", shards = 1, versionType = VersionType.INTERNAL, createIndex = true)
【问题讨论】:
标签: spring-boot spring-data-elasticsearch