# Is it possible to exclude the geo\_shape match field in a geo\_match enrich policy?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-exclude-the-geo-shape-match-field-in-a-geo-match-enrich-policy/301007>\
**Category:** Elasticsearch\
**Created:** [March 29, 2022, 8:40pm UTC](https://discuss.elastic.co/t/is-it-possible-to-exclude-the-geo-shape-match-field-in-a-geo-match-enrich-policy/301007 "2022-03-29T20:40:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Parish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_parish/32/97848_2.png) [@Joseph\_Parish](https://discuss.elastic.co/u/Joseph_Parish)\
**Post date:** [March 29, 2022, 8:40pm UTC](https://discuss.elastic.co/t/is-it-possible-to-exclude-the-geo-shape-match-field-in-a-geo-match-enrich-policy/301007/1 "2022-03-29T20:40:14Z")

</div>

I am following this [example](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/geo-match-enrich-policy-type.html) and excluded the match\_field from the enrich\_fields (the example includes the match\_field in the array) but the match\_field still shows up in the target\_field. The reason for exclusion is that the target index has many geo\_points within the shape and each document does not need to include the geo\_shape. Perhaps there is a way to reverse the enrich policy ?

---

<div class="post-metadata">

**Author:** ![Joseph\_Parish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_parish/32/97848_2.png) [@Joseph\_Parish](https://discuss.elastic.co/u/Joseph_Parish)\
**Post date:** [April 4, 2022, 6:00pm UTC](https://discuss.elastic.co/t/is-it-possible-to-exclude-the-geo-shape-match-field-in-a-geo-match-enrich-policy/301007/2 "2022-04-04T18:00:23Z")

</div>

I found the answer in this [post](https://www.elastic.co/blog/how-to-map-custom-boundaries-in-kibana-with-reverse-geocoding) which uses a more detailed example that includes a 'remove' component in the lookup processor

---

<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:** [May 2, 2022, 6:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-exclude-the-geo-shape-match-field-in-a-geo-match-enrich-policy/301007/3 "2022-05-02T18:01:19Z")

</div>

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