# Site Search Issue: Filtering Search

**URL:** <https://community.hubspot.com/t/site-search-issue-filtering-search/11368>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [October 4, 2018, 7:32am UTC](https://community.hubspot.com/t/site-search-issue-filtering-search/11368 "2018-10-04T07:32:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 4, 2018, 7:32am UTC](https://community.hubspot.com/t/site-search-issue-filtering-search/11368/1 "2018-10-04T07:32:28Z")

</div>

Hello,

I need some help on filtering the results of Site Search API, I’m using this API: /contentsearch/v2/search by using ajax call.  
The issue I’m dealing with it has too many results. Even the content of the header, top navigation text, etc, are also included on the results. Is there a way we could limit the search only on the actual content?

Any help is much appreciated. Thanks.  
JM

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [October 4, 2018, 3:08pm UTC](https://community.hubspot.com/t/site-search-issue-filtering-search/11368/2 "2018-10-04T15:08:10Z")

</div>

Hi [@jmgelogo](https://community.hubspot.com/u/jmgelogo), you should try using a few of the filters as outlined here: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/methods/content/search-for-content). A few filter parameters to consider to increase performance:

- Limit -- limits the number of results returned.
- Minimum Score -- Specifies the minimum score threshold to return a given result. This parameter is intentionally set low by default in order to return many results.
- Length -- Can be set to `LONG` or `SHORT` . Setting this parameter to `SHORT` will return a short highlight of the meta description. Setting this parameter to `LONG` will build the snippet based on the html/content of the page.

Hope this helps answer your question!

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 16, 2018, 10:50am UTC](https://community.hubspot.com/t/site-search-issue-filtering-search/11368/3 "2018-10-16T10:50:09Z")

</div>

Thanks [@Connor\_Barley](https://community.hubspot.com/u/connor_barley)!
