Elasticsearch和Scala类型转换

Scala Type        ES

Unit           null

None             null

Nil            empty array

Some[T]          according to the table

Map            object

Traversable        array

case class          object(see Map)

Product          array

posted @ 2019-01-21 11:39  mxgboy  阅读(468)  评论(0编辑  收藏  举报