Skip to content

Commit

Permalink
Update template to fit ES 1.0 API changes
Browse files Browse the repository at this point in the history
http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/_multi_fields.html

> Multi-fields are dead! Long live multi-fields! Well, the field type multi_field has been removed. Instead, any of the core field types (excluding object and nested) now accept a fields parameter.
  • Loading branch information
untergeek committed Feb 18, 2014
1 parent d90b1a2 commit c5202e0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "multi_field",
"type" : "string", "index" : "analyzed", "omit_norms" : true,
"fields" : {
"{name}" : {"type": "string", "index" : "analyzed", "omit_norms" : true },
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
}
}
Expand All @@ -41,4 +40,3 @@
}
}
}

0 comments on commit c5202e0

Please sign in to comment.