Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Property Index in AEM - Index properties and steps to create custom index | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,126 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,126 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

18-05-2020

BlogImage.jpg

Property Index in AEM - Index properties and steps to create custom index by myaemlearnings blogspot

Abstract

Property Index is for queries involving property constraints - equality, exist/not null check on property.

Oak property Index:
Node of type "oak:QueryIndexDefinition" with:
1. propertyNames Name[] list of properties for which the index needs to be created.
Example:
jcr:title, cq:lastModified, hideInNav property for a page content
cq:ParentPath property for an AEM Asset
Optional/Supporting Properties

2. declaringNodeTypes Name[] list of node types for which the index is applicable for
Example:
cq:PageContent
rep:Authorizable

3. unique Boolean true
Applicable for queries with unique constraint
This property should be used along with declaringNodeTypes
Example: /oak:index/authorizableId

Read Full Blog

Property Index in AEM - Index properties and steps to create custom index

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager