I'm trying to exclude all properties of a specific type from being indexed. I don't know where they might occur or what their names will be, but I don't want them to be indexed. I don't have control of my C# objects so I can't attribute them up either.
Specifically, I need to exclude all generic lists (e.g. List, List). I am using NEST 2.
Does anyone have any ideas? I've tried playing with mappings, visits and inference and couldn't figure out how to do what I need with any of them. I'm sure it can't be as hard as I think!
Any advice appreciated.