Is it possible to add something like a "rule" into the index mapping/description or whatever configuration that could to resolve the following trick:
We want to inject lot of data into a dedicated indice, but we would like to do not index some of this documents if they do not match a rule. There is a feature that to this trick but only on the field level:
We would like to do the same but directly reject the indexation of the document is one of the field is
not in a dictionary.
Any idea ?