Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Create new oak:index project specific folder at content/dam

Avatar

Level 3

I have a requirement to add new property index for a newly created metadata project specific schema. So would like to know if I can create a new oak:index folder as below and add property index there like this:

/content/dam/TestProject/oak:index/TestProject-LucenePropertyIndex

/content/dam/TestProject/oak:index/TestProject- amAssetLucene

1 Accepted Solution

Avatar

Correct answer by
Level 4

Would those nodes be of type dam:Asset (or child of such a node)? If yes then in such a case just update the out of box /oak:index/damAssetLucene and add your properties there for indexing.

Otherwise provide a sample json of kind of content you want to index. Per your current path it appears you plan to add one index per project which may not add much value unless index definition changes per project

View solution in original post

3 Replies

Avatar

Level 10

The DAM is just an AEM JCR location - however - i am checking with internal ppl to see if this is recommended or not.

Avatar

Level 3

Thanks Scott that would be really helpul.

Avatar

Correct answer by
Level 4

Would those nodes be of type dam:Asset (or child of such a node)? If yes then in such a case just update the out of box /oak:index/damAssetLucene and add your properties there for indexing.

Otherwise provide a sample json of kind of content you want to index. Per your current path it appears you plan to add one index per project which may not add much value unless index definition changes per project