diff --git a/lib/MetaCPAN/Script/Mapping/CPAN/Distribution.pm b/lib/MetaCPAN/Script/Mapping/CPAN/Distribution.pm index 4717fd195..9700d706f 100644 --- a/lib/MetaCPAN/Script/Mapping/CPAN/Distribution.pm +++ b/lib/MetaCPAN/Script/Mapping/CPAN/Distribution.pm @@ -65,6 +65,22 @@ sub mapping { } } }, + "repo" : { + "dynamic" : true, + "properties" : { + "github" : { + "dynamic" : true, + "properties" : { + "stars" : { + "type" : "integer" + }, + "watchers" : { + "type" : "integer" + }, + } + }, + }, + }, "name" : { "ignore_above" : 2048, "index" : "not_analyzed",