Ability to choose what to dynamically index
When using dynamic mapping, it would be useful for better control on the index to allow choosing which index types are created.
Exemple:
dynamic: true // Map all fields
dynamic: false // Don't use dynamic mapping
dynamic: ["string","bool"] // Only use dynamic mapping to create string indexes and boolean indexes
Also, why can't Token indexes be indexes dynamically? I assume it's to avoid making the index too big, but I think it should be allowed optionally to facilitate sorting and filtering on string fields that may not be known at the moment of creating the index.
3
votes
![](https://secure.gravatar.com/avatar/e0687f95e1ad8e6a3dd86dad8dd418b6?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)