You are looking at documentation for an older release. Not what you want? See the current release documentation.
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
.
<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/Searches</value>
</value-param>
<value-param>
<name>group</name>
<value>*:/platform/administrators</value>
</value-param>
</init-params>
</component>
Details:
Value-param:
Name | Type | Value | Description |
---|---|---|---|
workspace |
string
|
system
| The workspace name. |
relativePath |
string
|
Private/Searches
| The path to the query location. |
group |
string
|
*:/platform/administrators
| The group is allowed to access the query folder. |