Skip to content

Commit

Permalink
Merge pull request #475 from marwoodandrew/fix-external-mapping
Browse files Browse the repository at this point in the history
fix(locations mapping) to properly ignore the external part in the index
  • Loading branch information
nrvikas committed Oct 4, 2017
2 parents d3ffb43 + 7d73902 commit 1262438
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/planning/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ def on_create(self, docs):
'postal_code': {'type': 'string'},
'external': {
'type': 'dict',
'mapping': not_indexed
'mapping': {
'type': 'object',
'enabled': False
}
}
},
},
Expand Down

0 comments on commit 1262438

Please sign in to comment.