# Ignore hits that have been placed in bucket

**URL:** <https://discuss.elastic.co/t/ignore-hits-that-have-been-placed-in-bucket/2082>\
**Category:** Elasticsearch\
**Created:** [June 7, 2015, 7:57am UTC](https://discuss.elastic.co/t/ignore-hits-that-have-been-placed-in-bucket/2082 "2015-06-07T07:57:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nacho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nacho/32/44834_2.png) [@nacho](https://discuss.elastic.co/u/nacho)\
**Post date:** [June 7, 2015, 7:57am UTC](https://discuss.elastic.co/t/ignore-hits-that-have-been-placed-in-bucket/2082/1 "2015-06-07T07:57:04Z")

</div>

I am using the `geohash_grid` aggregation. I would like to access all documents that were not placed in the aggregation's bucket. Is that possible?

For example, I have some documents containing locations that are relatively close to one-another. When I set `geohash_grid`'s precision to 1, I see all of my documents placed in the same bucket. I would like to see no documents in the `hits` section of the result now, since they were all placed into the bucket.

Is there a way to achieve this with Elasticsearch?

---

<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:09am UTC](https://discuss.elastic.co/t/ignore-hits-that-have-been-placed-in-bucket/2082/2 "2017-07-06T00:09:09Z")

</div>


