Hi Lo,
Just to clarify what you are saying here. If you have a document containing a key value pair such as {"my_key": "value"} you can't go back into that data type and add an index for "my_key" as the underscore is an invalid character ? Is that correct ? There is no restriction on what you can insert into a data type although there is one on the characters that you can use on a key for indexing. I imagine the the best thing to do here would be to plan your indexes accordingly and create ahead of time (where possible) or if you need to index an existing field make sure it's one that doesn't contain an invalid character.
Regards,
Liam
Lo Pa
From what I understand in the documentation for creating indexes, I can add indexes to fields of the existing content. It seems that the way to do this requires matching the shortcode of the index to the data type. I am unable to do this because the UI only allows alphanumeric characters for index shortcodes.
The bug is the apparent mismatch in allowed naming conventions of the Data Type and Data Type index shortcode.