# Is it a good idea to have points both in geo\_point AND geo\_shape together?

**URL:** <https://discuss.elastic.co/t/is-it-a-good-idea-to-have-points-both-in-geo-point-and-geo-shape-together/24901>\
**Category:** Elasticsearch\
**Created:** [July 4, 2015, 9:12pm UTC](https://discuss.elastic.co/t/is-it-a-good-idea-to-have-points-both-in-geo-point-and-geo-shape-together/24901 "2015-07-04T21:12:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyunam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyunam/32/3576_2.png) [@kyunam](https://discuss.elastic.co/u/kyunam)\
**Post date:** [July 4, 2015, 9:12pm UTC](https://discuss.elastic.co/t/is-it-a-good-idea-to-have-points-both-in-geo-point-and-geo-shape-together/24901/1 "2015-07-04T21:12:09Z")

</div>

If I want to be able to use geo\_distance\_range filter AND find all points "relation": "within" in a complex polygon, do I need to index points as geo\_point AND geo\_shape as well? Or having geo\_point and geo\_shape together is not a good idea?

Thanks,  
Q

---

<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:** [July 6, 2017, 12:03am UTC](https://discuss.elastic.co/t/is-it-a-good-idea-to-have-points-both-in-geo-point-and-geo-shape-together/24901/2 "2017-07-06T00:03:31Z")

</div>


