-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New sanitizer: delete-tags #2953
Comments
If somebody wants to take this up, here are some hints to get you started:
|
assign this to me , I would like to work on this .. |
We do not assign tasks. Just pick what interests you. Please make sure to read the GSOC instructions. |
Hi @lonvia, I was going through the above issue, couldn't clearly get what |
The |
Thanks for clarifying @lonvia, I have added a PR for the same. I request you to please have a look. |
Implemented in #2993. |
In order to filter out odd tagging practises like the postbox refs in Germany
(see #2652) we could do with a sanitizer that removes some names and address parts from
the list of indexed names. It should work along those lines:
Sanitizer 'delete-tags'
Removes a name or address name from the list, when it matches all properties
given in the parameter list. There are two kinds of properties. Some refer to
the name and some refer to the place being indexed. If you specify only
place properties, then all names and address parts will be deleted and the
place will effectively not be searchable.
Where parameters contain regular expressions, they are always matched against
the full string. Add an exclamation mark (!) in front of the expression to
negate the match, i.e. delete the tag only if the property does not match.
When a parameter contains a list of conditions, a single match is sufficient.
Parameters:
The text was updated successfully, but these errors were encountered: