Discard documents when indexing with rules

Ok thank you ! This is very interesting for our usecase ! :+1:

Before we would have to switch from 2.4 to 6.x !!!

Thanks !
Xavier