Thank you for your reply. I'll apply your patch and try this new feature to see if it meets my needs.
If I understand correctly, your solution is to have a field by type and to select the field to use depending on the value of another field. Ideally, I would apply a different pre-treatment to my data, depending on the value of a field and store the data in a single field. I'll also take a look at "StopFilter" to see if I can implement a custom filter with an additional parameter (the fields to consider). Best regards, Damien