Skip to content

Instantly share code, notes, and snippets.

@mortenhauberg
Created October 19, 2015 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortenhauberg/1c8e514c2a824cadfa47 to your computer and use it in GitHub Desktop.
Save mortenhauberg/1c8e514c2a824cadfa47 to your computer and use it in GitHub Desktop.
{
"properties": {
"fixed_fields": {
"type": "nested",
"properties": {
"field_id": {
"type": "long",
"doc_values": true
},
"text_value": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed",
"doc_values": true
}
}
},
"numeric_value": {
"type": "long",
"doc_values": true
},
"date_value": {
"type": "date",
"format": "dateOptionalTime",
"doc_values": true
},
"boolean_value": {
"type": "boolean",
"doc_values": true
},
"single_choice_value": {
"type": "long",
"doc_values": true
},
"multiple_choice_value": {
"type": "long",
"doc_values": true
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment