diff --git a/json/src/test/resources/templates/tag.json b/json/src/test/resources/templates/tag.json index d2c5068f..816c1feb 100644 --- a/json/src/test/resources/templates/tag.json +++ b/json/src/test/resources/templates/tag.json @@ -27,5 +27,6 @@ ], "webUrl": "http://www.theguardian.com/world/france", "apiUrl": "http://content.guardianapis.com/world/france", - "references" : [ ] + "references" : [ ], + "docCount": 24600 } diff --git a/models/src/main/thrift/content/v1.thrift b/models/src/main/thrift/content/v1.thrift index ce5c04d2..72dd3912 100644 --- a/models/src/main/thrift/content/v1.thrift +++ b/models/src/main/thrift/content/v1.thrift @@ -1543,6 +1543,11 @@ struct Tag { * The internal name of the tag */ 26: optional string internalName + + /** + * The number of pieces of content that reference this tag. + */ + 27: optional i32 docCount } struct Edition {