# Shopware 6 search api response time irrespective of entity associations fetching

**URL:** <https://forum.shopware.com/t/shopware-6-search-api-response-time-irrespective-of-entity-associations-fetching/102301>\
**Category:** Programming (EN)\
**Tags:** programming\
**Created:** [16. Dezember 2023 um 10:30 UTC](https://forum.shopware.com/t/shopware-6-search-api-response-time-irrespective-of-entity-associations-fetching/102301 "2023-12-16T10:30:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.dornianu](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@gabriel.dornianu](https://forum.shopware.com/u/gabriel.dornianu)\
**Post date:** [16. Dezember 2023 um 10:30 UTC](https://forum.shopware.com/t/shopware-6-search-api-response-time-irrespective-of-entity-associations-fetching/102301/1 "2023-12-16T10:30:38Z")

</div>

Hello,

In shopware 6 you can specify if you want your API call to fetch the certain property of an entity, or not specify any property and fetch all the properties and associations.

The weird part is the two requests take the same amount of time to run.

My question would be, are associations fetched even if they are not included in the end result? That would explain why we get the same request/response time.

And if so, is there a way to avoid unnecessary association fetching in the search api?
