Skip to content

Commit

Permalink
#31 enable fielddata for text attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 20, 2017
1 parent f0079f9 commit 2fcb79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/org/elastic4play/models/TextAttributeFormat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 2fcb79c

Please sign in to comment.