I am using spring-data-elasticsearch 1.1.2. I am trying to use java annotation to specify that a field should not be analyzed.
I use the following annotation: @Field(index = FieldIndex.not_analyzed) private String category;
The generated mapping does not include "index":"not_analyzed" for this field:
    "properties" : {
      "category" : {
        "type" : "string"
      },
      ...
I am having no luck finding helpful documentation about how to do this but it looks like it should work.
Should it work? Where can i find more information? How best to debug?
Thank you.
update: problem also present with the latest 1.2.0 version.
 
     
    