Customers may want to index only their organization's account in ArcGIS Online and not all of ArcGIS Online. To make this possible, they can use the ArcGIS REST API to customize queries to an ArcGIS location.
There are two steps in customizing an ArcGIS Online query:
To add ArcGIS Online in Voyager Server:
When Voyager indexes the new ArcGIS Online location, it will apply the query settings added to the location's configuration.
ArcGIS query parameters are similar to most text search engines. Queries can be term-based (e.g. fire or earthquake) or field-based (e.g. group, owner or spatial reference), and Boolean operators (AND, OR, NOT) are accepted. For detailed information, click the ArcGIS Online Query Syntax link.
You can filter your searches on groups by using specific fields in your search string. Only public groups or groups to which you have access will be searched. To find the group fields available to you, login to your Portal for ArcGIS Online account.
To query a field, use the following syntax:
fieldname:"field_value" - the quotes around the field value are required
type:"map service"
group:"MyGroup"
These can be combined with Boolean operators, for example
type:"layer" AND type:"feature service" AND group:"MyGroup"