Home > Mobile >  Spring Elasticsearch How to Apply the Following Mapping Parameters?
Spring Elasticsearch How to Apply the Following Mapping Parameters?

Time:12-05

We need to incorporate the following mapping parameters in our java class fields:

'doc_values' 'norms' 'index' 'dynamic'

can somebody know what annotation/how to incorporate it on our field class?

CodePudding user response:

You can refer this documentation where they have gievn all the param details which is supported for @field annotation.

@Field(type = FieldType.Text, docValues = true)
private String authors;
  • Related