Dictionary of stop words with special behavior

I had a necessity to filter the document with dictionary, so that the document did not fall in the index, if it contains a word from this dictionary (for example prohibited documents, obscene language, etc.).
How can I do that?

If this is not possible, may be you will consider this idea?

Hi @amelkikh,

I'd consider this logic part of the application, although you might be able to use percolator for that: Register queries that match your forbidden words, index the document and check with percolator if any query matches. It depends a bit on the number of forbidden words whether this solution is really feasible though... .

Daniel

Thanks for the suggestion, it will help me to better understand the features of the product.

Hi @amelkikh,

sure, you're welcome. :slight_smile:

Daniel