Skip to content

Json4sHitReader should get _id from hit. #2220

Open
@hanrw

Description

@hanrw
    implicit def Json4sHitReader[T](implicit json4s: Serialization, formats: Formats, mf: Manifest[T]): HitReader[T] =
      new HitReader[T] {
        override def read(hit: Hit): Try[T] = Try {
          json4s.read[T](hit.sourceAsString)
        }
      }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions