Skip to content

Instantly share code, notes, and snippets.

@monken
Created April 26, 2011 19:14
Show Gist options
  • Save monken/942883 to your computer and use it in GitHub Desktop.
Save monken/942883 to your computer and use it in GitHub Desktop.
MetaCPAN Schema
{
"cpan" : {
"mirror" : {
"dynamic" : "false",
"_source" : {
"compress" : true
},
"properties" : {
"region" : {
"type" : "multi_field",
"fields" : {
"region" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
}
}
},
"ccode" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"location" : {
"type" : "geo_point"
},
"freq" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"reitredate" : {
"store" : "yes",
"format" : "dateOptionalTime",
"type" : "date"
},
"org" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"org" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"contact" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"city" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"city" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"country" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"country" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"aka_name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"rsync" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"tz" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"dnsrr" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"A_or_CNAME" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"http" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"inceptdate" : {
"store" : "yes",
"format" : "dateOptionalTime",
"type" : "date"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"ftp" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"continent" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"continent" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"src" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"note" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"author" : {
"dynamic" : "false",
"_source" : {
"compress" : true
},
"properties" : {
"region" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"website" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"location" : {
"type" : "geo_point"
},
"pauseid" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"perlmongers" : {
"dynamic" : "false",
"properties" : {
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"url" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"extra" : {
"store" : "yes",
"type" : "string"
},
"donation" : {
"dynamic" : "false",
"properties" : {
"id" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"blog" : {
"dynamic" : "false",
"properties" : {
"feed" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"url" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"city" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"country" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"author" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"dir" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"email" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"name" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"gravatar_url" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"profile" : {
"dynamic" : "false",
"properties" : {
"id" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
}
}
},
"file" : {
"dynamic" : "false",
"_source" : {
"compress" : true
},
"properties" : {
"abstract" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
}
}
},
"pod_lines" : {
"index" : "no",
"store" : "yes",
"type" : "string"
},
"module" : {
"dynamic" : "false",
"properties" : {
"indexed" : {
"store" : "yes",
"type" : "boolean"
},
"name" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "camelcase",
"type" : "string"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"version_numified" : {
"store" : "yes",
"type" : "float"
},
"version" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"maturity" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"status" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"date" : {
"store" : "yes",
"format" : "dateOptionalTime",
"type" : "date"
},
"distribution" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"stat" : {
"dynamic" : "false",
"properties" : {
"uid" : {
"store" : "yes",
"type" : "integer"
},
"mtime" : {
"store" : "yes",
"type" : "integer"
},
"gid" : {
"store" : "yes",
"type" : "integer"
},
"size" : {
"store" : "yes",
"type" : "integer"
},
"mode" : {
"store" : "yes",
"type" : "integer"
}
}
},
"sloc" : {
"store" : "yes",
"type" : "integer"
},
"id" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"author" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"level" : {
"store" : "yes",
"type" : "integer"
},
"directory" : {
"store" : "yes",
"type" : "boolean"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"slop" : {
"store" : "yes",
"type" : "integer"
},
"documentation" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "camelcase",
"type" : "string"
},
"documentation" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"path" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"mime" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"release" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"pod" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"analyzer" : "standard",
"term_vector" : "with_positions_offsets",
"type" : "string"
}
}
}
}
},
"release" : {
"dynamic" : "false",
"_source" : {
"compress" : true
},
"properties" : {
"abstract" : {
"type" : "multi_field",
"fields" : {
"abstract" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
}
}
},
"resources" : {
"dynamic" : "false",
"properties" : {
"repository" : {
"dynamic" : "false",
"properties" : {
"web" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"type" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"url" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"bugtracker" : {
"dynamic" : "false",
"properties" : {
"mailto" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"web" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"license" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"homepage" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"maturity" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"status" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"date" : {
"store" : "yes",
"format" : "dateOptionalTime",
"type" : "date"
},
"distribution" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "lowercase",
"type" : "string"
},
"distribution" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"stat" : {
"dynamic" : "false",
"properties" : {
"uid" : {
"store" : "yes",
"type" : "integer"
},
"mtime" : {
"store" : "yes",
"type" : "integer"
},
"gid" : {
"store" : "yes",
"type" : "integer"
},
"size" : {
"store" : "yes",
"type" : "integer"
},
"mode" : {
"store" : "yes",
"type" : "integer"
}
}
},
"version" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"dependency" : {
"dynamic" : "false",
"properties" : {
"relationship" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"module" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"version_numified" : {
"store" : "yes",
"type" : "float"
},
"phase" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"version" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"id" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"author" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"download_url" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"name" : {
"type" : "multi_field",
"fields" : {
"analyzed" : {
"include_in_all" : false,
"store" : "yes",
"analyzer" : "standard",
"type" : "string"
},
"name" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
},
"version_numified" : {
"store" : "yes",
"type" : "float"
},
"archive" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
},
"license" : {
"index" : "not_analyzed",
"store" : "yes",
"type" : "string"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment