# Store Filtered Results

**URL:** <https://discuss.elastic.co/t/store-filtered-results/205910>\
**Category:** Elasticsearch\
**Created:** [October 30, 2019, 4:15pm UTC](https://discuss.elastic.co/t/store-filtered-results/205910 "2019-10-30T16:15:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmille52](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@bmille52](https://discuss.elastic.co/u/bmille52)\
**Post date:** [October 30, 2019, 4:15pm UTC](https://discuss.elastic.co/t/store-filtered-results/205910/1 "2019-10-30T16:15:09Z")

</div>

I have a character filter that removes some markdown elements, such as link structure, from a text blob Im storing. I'd like to be able to use the filtered results for highlighting so that I can show highlights of the text, but without the markdown elements.

I can see that my filter works properly when I get the token back, and I'd be able to re-structure the markdown from the tokens and store that, but it seems like a hacky way of doing things.

Is it possible to use the filtered results and store them automatically in another property?

Thanks

---

<div class="post-metadata">

**Author:** ![bmille52](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@bmille52](https://discuss.elastic.co/u/bmille52)\
**Post date:** [October 30, 2019, 8:54pm UTC](https://discuss.elastic.co/t/store-filtered-results/205910/2 "2019-10-30T20:54:28Z")

</div>

I found this question, which is extremely similar to mine, [Html stripped highlighted text from html Content field](https://discuss.elastic.co/t/html-stripped-highlighted-text-from-html-content-field/7340/9). It looks like what Im asking for is not possible given the answers to this question.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 31, 2019, 12:35pm UTC](https://discuss.elastic.co/t/store-filtered-results/205910/3 "2019-10-31T12:35:15Z")

</div>

There is a [html\_strip processor](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/htmlstrip-processor.html) nowadays. However that is about HTML, not markdown.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 28, 2019, 12:35pm UTC](https://discuss.elastic.co/t/store-filtered-results/205910/4 "2019-11-28T12:35:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
