Create new oak:index project specific folder at content/dam | Community
Skip to main content
Level 2
Nov 1, 2017 1:58 PM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
chetanm_octAccepted solution
Employee
Nov 2, 2017 5:27 AM UTC

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

3 replies

chetanm_octAccepted solution
Employee
Nov 2, 2017 5:27 AM UTC

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

Translate
Level 2
Nov 1, 2017 4:15 PM UTC

Thanks Scott that would be really helpul.

Translate
smacdonald2008
Level 10
Nov 1, 2017 2:14 PM UTC

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

Translate