# Is there a way to filter out inappropriate "top\_queries" values?

**URL:** <https://community.swiftype.com/t/is-there-a-way-to-filter-out-inappropriate-top-queries-values/358>\
**Category:** General\
**Created:** [May 10, 2017, 2:38pm UTC](https://community.swiftype.com/t/is-there-a-way-to-filter-out-inappropriate-top-queries-values/358 "2017-05-10T14:38:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmorrow](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dmorrow](https://community.swiftype.com/u/dmorrow)\
**Post date:** [May 10, 2017, 2:38pm UTC](https://community.swiftype.com/t/is-there-a-way-to-filter-out-inappropriate-top-queries-values/358/1 "2017-05-10T14:38:36Z")

</div>

I’m working on an iOS app that is designed for kids. What happens if say 1000 kids search for the word “ **poop** ” in my app?

If I call the “top\_queries” endpoint, will the word “poop” be in the top-queries? Or will it not be in there, since I have nothing searchable with the word “poop” in it.

My employer is concerned that I’d display search-results that are inappropriate for children. All the **content** is appropriate for children, and all the searchable data is appropriate for children. I think they’re just asking if the the “top\_queries” results could be “gamed” into returning search results. Same goes for typeahead values, I guess.

Thanks,  
-Dan.

---

<div class="post-metadata">

**Author:** ![mike](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/mike/32/37_2.png) [@mike](https://community.swiftype.com/u/mike)\
**Post date:** [August 4, 2017, 5:39pm UTC](https://community.swiftype.com/t/is-there-a-way-to-filter-out-inappropriate-top-queries-values/358/2 "2017-08-04T17:39:03Z")

</div>

Unlisted on August 4, 2017, 5:39pm UTC


