Using tika's html mapper in attachment plugin


I read that Tika has an ability to discard some elements , by using:
in HtmlMapper

I was wondering if there is any way of adding this as a property to the
attachment plugin to discard certain elements in html

for example - when indexing some html files that all have the same menu or


This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the
addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit