AEM Collection
The AEM Collection Indexes pages and assets available on the AEM content repository. Each page and asset is considered as a document.
Prerequisites
- AEM author instance should be running.
- AEM publisher instance should be running.
- Admin privileged credentials (username and password) for AEM author instance.
Note:
SearchBlox should have access to AEM instances and reachable to crawl the AEM site pages.
Create an AEM Collection
You can create an AEM Collection with the following steps:
- After logging in to the Admin Console, select the Collections tab and click on Create a New
Collection or "+" icon. - Choose AEM Collection as Collection Type.
- Enter a unique Collection name for the data source (For example, intranet site).
- Choose Private/Public Collection Access.
- Choose the language of the content (if the language is other than English).
- Click Save to create the collection.
- Once the AEM collection is created you will be taken to the Authentication tab.
Authentication Tab
Field | Description |
---|---|
Author Instance URL | The Author Instance URL of the AEM Instance to index the documents from AEM content repositories. |
Publisher Instance URL | Publish Domain of the AEM instance. When you set this up, documents get served from publish domain though indexing is done from author instance. |
Username | Specifies the AEM username. If the service security is disabled, you do not need to provide the username. Admin privileged credentials for AEM author instance |
Password | Specifies the corresponding password value. If the service security is disabled, you do not need to provide the password. |
AEM Collection Paths to Index Specific Site Pages
The AEM collection Paths allow you to configure the Allow/Disallow paths for the crawler. If we need to index specific site pages or assets, we need to add the allow path format. To access the paths for the AEM collection, click on the collection name from the Collections list.
Allow/Disallow Paths
- Allow/Disallow paths ensure the crawler can include or exclude URLs.
- Allow and Disallow paths make it possible to manage a collection by excluding unwanted URLs.
- All Allow paths and Disallow Paths are related to publisher instance URL
Field | Description |
---|---|
Allow Paths | https://xxx.xxx.xx.xx:xxxx/wk-events/ /aqua-collections/ /wellness-care/ https://xxx.xxx.xx.xx:xxxx/wk-events/standard.html .* (Allows the crawler to go any external URL or domain.) |
Disallow Paths | .jsp /cgi-bin/ /videos/ ?params |
Allowed Formats | Select the document formats that need to be searchable within the collection. |
Enable Content API | Provides the ability to crawl the document content with special characters included. |
Schedule and Index
AEM collection should be indexed only on published pages. Sets the frequency and the start date/time for indexing a collection. Schedule Frequency supported in SearchBlox is as follows:
- Once
- Hourly
- Daily
- Every 48 Hours
- Every 96 Hours
- Weekly
- Monthly
The following operation can be performed in AEM collections
Activity | Description |
---|---|
Schedule | For each collection, indexing can be scheduled based on the above options. |
Data Fields Tab
Using Data Fields tab we can create custom fields for search and we can see the Default Data Fields with non-encrypted collection. SearchBlox supports 4 types of Data Fields as listed below:
Keyword
Number
Date
Text
- Once the Data fields are configured, collection must be cleared and re-indexed to take effect.
To know more about Data Fields please refer to Data Fields Tab
Updated 8 months ago