diff --git a/app/org/elastic4play/models/TextAttributeFormat.scala b/app/org/elastic4play/models/TextAttributeFormat.scala index fa664b5..46137be 100644 --- a/app/org/elastic4play/models/TextAttributeFormat.scala +++ b/app/org/elastic4play/models/TextAttributeFormat.scala @@ -26,5 +26,5 @@ object TextAttributeFormat extends AttributeFormat[String]("text") { } } - override def elasticType(attributeName: String): TextFieldDefinition = textField(attributeName) + override def elasticType(attributeName: String): TextFieldDefinition = textField(attributeName).fielddata(true) } diff --git a/version.sbt b/version.sbt index 291f1aa..5f5c791 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version := "1.3.0" +version := "1.3.1"