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) }