Added an example of query masking rules for developers

This commit is contained in:
Alexey Milovidov 2019-09-04 02:07:08 +03:00
parent 843f8303b0
commit ece7a05cec

View File

@ -0,0 +1,12 @@
<yandex>
<query_masking_rules>
<!-- An example of query masking rule to remove profanity.
This is an example for developers. Practical examples will include something like masking of SSN or credit card numbers.
-->
<rule>
<name>profanity</name>
<regexp>(?i:shit)</regexp>
<replace>substance</replace>
</rule>
</query_masking_rules>
</yandex>