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 Sep 18, 2017
1 parent 50732cf commit 1dfc4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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)
}
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version := "1.3.0"
version := "1.3.1"

0 comments on commit 1dfc4bb

Please sign in to comment.