diff --git a/elastic/core/src/main/scala/Index.scala b/elastic/core/src/main/scala/Index.scala index 0dd21c7..89f9524 100644 --- a/elastic/core/src/main/scala/Index.scala +++ b/elastic/core/src/main/scala/Index.scala @@ -92,7 +92,7 @@ abstract class Index( } def bulkIndexRequest(latests: Seq[Index.this.Latest]) = - bulk(latests.map(indexRequest)) + bulk(latests.map(indexRequest)) refresh indexSetup.refreshPolicy def get(id: Id): Future[Option[Latest]] = execute(getRequest(id)).map(_.toOpt[Latest])