Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas Search
Created by Guest
Created on Jul 6, 2020

Support HTML strip tags analyzer

If some html text is indexed we could strip tags so searches by h1, span, div, etc... should not return results. For example: Lucene: https://lucene.apache.org/core/8_5_1/analyzers-common/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.html Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-htmlstrip-charfilter.html
  • ADMIN RESPONSE
    Oct 18, 2025
    We have added this capability as a character filter via the release of custom analyzers: https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#htmlstrip Please let me know if you have any questions and enjoy!