Name: elastic-search-server
Owner: HM Land Registry
Description: This repository contains the elasticsearch server and configuration files used for development
Created: 2014-07-14 10:11:58.0
Updated: 2015-11-27 10:07:48.0
Pushed: 2014-07-30 11:49:49.0
Homepage: null
Size: 19520
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
house_number value needs to be mapped as a string. Otherwise it defaults to a number, causing public and private
s of the property to fail for values like 1a (manifests as page not found when trying to view a property).
he moment house_number alone is mapped, so that it is still easy to chop and change fields without worrying about
ging the mapping.
command to apply the mapping is:
-XPUT 'https://aralia-9184790.eu-west-1.bonsai.io/public_titles/titles/_mapping' -d
itles" :
"properties":
{"property": {
"type": "object",
"properties" :
{
"address":
{
"type": "object",
"properties": {
"house_number": {"type" : "string"}
}
}
}
}
}