The _QueryService_ component is used to manage many queries, including adding, removing or executing a query.
The configuration of this component is found in _/core/core-configuration/src/main/webapp/WEB-INF/conf/wcm-core/core-services-configuration.xml_.

{code:xml}<component>
    <key>org.exoplatform.services.cms.queries.QueryService</key>
    <type>org.exoplatform.services.cms.queries.impl.QueryServiceImpl</type>
    <init-params>
        <value-param>
            <name>workspace</name>
            <value>system</value>
        </value-param>
        <value-param>
            <name>relativePath</name>
            <value>Private/Queries</value>
        </value-param>
        <value-param>
            <name>group</name>
            <value>*:/admin</value>
        </value-param>
    </init-params>
</component>{code}

*Details*:

* *Value-param*:
||*Name*||*Type*||*Value*||*Description*||
|*workspace*|{{string}}|{{system}}|The workspace name.|
|*relativePath*|{{Private/Queries}}|{{Private/Queries}}|The path to the query location.|
|*group*|{{string}}| \*:/admin|The group is allowed to access the query folder.|