-
-
Save meDavid/c5388f661d3ee7b73dcc992f71145da0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT cars | |
{ | |
"mappings" : { | |
"car": { | |
"properties": { | |
"model": { | |
"type": "text" | |
}, | |
"manufacturer": { | |
"type": "text", | |
"fields": { | |
"keyword": { | |
"type": "keyword" | |
} | |
} | |
}, | |
"description": { | |
"type": "text" | |
}, | |
"transmission_type": { | |
"type": "keyword" | |
}, | |
"fuel_type": { | |
"type": "keyword" | |
}, | |
"noise_level": { | |
"type": "integer" | |
}, | |
"euro_standard": { | |
"type": "integer" | |
}, | |
"year": { | |
"type": "integer" | |
}, | |
"co2": { | |
"type": "integer" | |
}, | |
"urban_metric": { | |
"type": "float" | |
}, | |
"extra_urban_metric": { | |
"type": "float" | |
}, | |
"combined_metric": { | |
"type": "float" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment