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
Jean-Samuel
shared this idea