Skip to content

Instantly share code, notes, and snippets.

@jprante
Created July 9, 2012 20:52
Show Gist options
  • Save jprante/3078826 to your computer and use it in GitHub Desktop.
Save jprante/3078826 to your computer and use it in GitHub Desktop.
dc:contributor / dc:creator mapping
{
"title" : {
"_timestamp" : {
"enabled" : true,
"path" : "xbib:updated"
},
"_boost" : {
"name" : "xbib:boost",
"null_value" : 1.0
},
"properties" : {
"dc:contributor" : {
"properties" : {
"bib:nameCorporate" : {
"type" : "multi_field",
"fields" : {
"bib:nameCorporate" : {
"type" : "string",
"index_name" : "dc:contributor"
},
"xbib:nameCorporate" : {
"type" : "string",
"include_in_all" : false
},
"xbib:nameCorporateFacetEntry" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
"bib:namePersonal" : {
"type" : "multi_field",
"fields" : {
"bib:namePersonal" : {
"type" : "string",
"index_name" : "dc:contributor"
},
"xbib:namePersonal" : {
"type" : "string",
"include_in_all" : false
},
"xbib:namePersonalFacetEntry" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
"dc:contributor" : {
"type" : "string",
"include_in_all" : true
},
"xbib:nameCorporateAlt" : {
"type" : "string",
"index_name" : "bib:nameCorporate",
"boost" : 0.5
},
"xbib:nameCorporateID" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true
},
"xbib:nameCorporateRole" : {
"type" : "string"
},
"xbib:namePersonalAlt" : {
"type" : "string",
"index_name" : "bib:namePersonal",
"boost" : 0.5
},
"xbib:namePersonalID" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true
},
"xbib:namePersonalRole" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
"dc:creator" : {
"properties" : {
"bib:nameCorporate" : {
"type" : "multi_field",
"fields" : {
"bib:nameCorporate" : {
"type" : "string",
"index_name" : "dc:creator"
},
"xbib:nameCorporate" : {
"type" : "string",
"include_in_all" : false
},
"xbib:nameCorporateFacetEntry" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
"bib:namePersonal" : {
"type" : "multi_field",
"fields" : {
"bib:namePersonal" : {
"type" : "string",
"index_name" : "dc:creator"
},
"xbib:namePersonal" : {
"type" : "string",
"include_in_all" : false
},
"xbib:namePersonalFacetEntry" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
"dc:creator" : {
"type" : "string",
"include_in_all" : true
},
"xbib:nameCorporateAlt" : {
"type" : "string",
"index_name" : "bib:nameCorporate",
"boost" : 0.5
},
"xbib:nameCorporateID" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true
},
"xbib:namePersonalAlt" : {
"type" : "string",
"index_name" : "bib:namePersonal",
"boost" : 0.5
},
"xbib:namePersonalID" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"omit_term_freq_and_positions" : true,
"include_in_all" : false
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment