pelias/schema — pull request #5 by missinglink (2014-08-25 14:45:43+00:00)
Title: diabled _all and dynamic, explicitly define all quattroshapes fields

untested, proposed schema change to remove `_all` and `dynamic`.

- `_all` is enabled by default and allows you to query the 'whole document'; while this is convenient for development it's pretty lazy and underperformed. Instead you MUST now specify which fields you are searching against at query time.
- `dynamic` allows `elasticsearch` to augment the mapping when it finds a new property. It will guess the property type and add it's value to the mapping file. Again, this is nice in development but not in production. **note** I believe this will now discard any fields that are send to ES and do not explicitly appear in the mapping.

Both of these settings should reduce the maintenance burden by reducing the in-memory footprint as well as the on-disk storage.

@fdansv @fdansv @heffergm