Skip to content

Instantly share code, notes, and snippets.

@epugh
Created January 17, 2012 17:05
Show Gist options
  • Select an option

  • Save epugh/1627515 to your computer and use it in GitHub Desktop.

Select an option

Save epugh/1627515 to your computer and use it in GitHub Desktop.
SolrInputDocument AVro Schema
{
"type": "record",
"name": "SolrInputDocument",
"namespace": "org.apache.solr.common",
"fields": [
{
"name": "_fields",
"type": {
"type": "map",
"values": {
"type": "record",
"name": "SolrInputField",
"fields": [
{
"name": "name",
"type": "string"
},
{
"name": "value",
"type": {
"type": "record",
"name": "Object",
"namespace": "java.lang",
"fields": []
}
},
{
"name": "boost",
"type": "float"
}
]
}
}
},
{
"name": "_documentBoost",
"type": "float"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment